rc.d/03-stc-setup.rc
author Jan Vrany <jan.vrany@fit.cvut.cz>
Tue, 14 Jan 2020 22:47:55 +0000
branchjv
changeset 1625 2425cb5d073e
parent 1435 9a1f18933e40
permissions -rw-r--r--
Add support out-of-tree builds. This commit adds a support for out-of-tree builds, i.e, object files, executables and so on are writen to `$(OUTDIR)` (which defaults to `build/<BUILD_TARGET>` directory. This allows building Smalltalk/X from single source tree for multiple targets.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1435
9a1f18933e40 Merged code from jv-branch's 'distutils' package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     1
modulesDir := Filename homeDirectory / '.smalltalk' / 'binary-modules'.
9a1f18933e40 Merged code from jv-branch's 'distutils' package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     2
modulesDir asFilename exists ifFalse:[modulesDir asFilename makeDirectory].
9a1f18933e40 Merged code from jv-branch's 'distutils' package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     3
Compiler stcModulePath:modulesDir.
9a1f18933e40 Merged code from jv-branch's 'distutils' package
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
diff changeset
     4