Created
January 22, 2016 01:03
-
-
Save bdbaddog/81d68da444214913cd94 to your computer and use it in GitHub Desktop.
scons example with versioned shared library installing into other dir and variant_dir
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
int abc() { | |
return 1; | |
} |
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
Import('env') | |
# this will expand into xyz/libmylib | |
env.SharedLibrary("#xyz/mylib",['a.c'],) |
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
env=Environment() | |
SConscript('a/SConscript',variant_dir='build',exports='env') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment