Created
April 19, 2014 00:12
-
-
Save bdbaddog/11069294 to your computer and use it in GitHub Desktop.
scons example.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SConstruct: | |
SConscript('c/SConscript') | |
c/SConscript: | |
env = Environment() | |
env.Command('a','b','/bin/echo path %s'%env.Dir('#')) | |
Output: | |
scons: Reading SConscript files ... | |
scons: done reading SConscript files. | |
scons: Building targets ... | |
/bin/echo path /Users/bdbaddog/devel/scons/tmp/b | |
path /Users/bdbaddog/devel/scons/tmp/b | |
scons: done building targets. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment