Added build system for C++
This commit is contained in:
parent
94924da87e
commit
cccb5f09ec
2 changed files with 15 additions and 2 deletions
|
|
@ -29,8 +29,13 @@ else:
|
|||
if os.getenv("CC") == "clang":
|
||||
env.Replace(CC="clang",
|
||||
CXX="clang++")
|
||||
|
||||
#rootpath = env['ROOTPATH'] = os.path.abspath('.')
|
||||
#env.Append(CPPPATH=os.path.join('#', "hammer"))
|
||||
|
||||
Export('env')
|
||||
|
||||
|
||||
env.SConscript(["src/SConscript"], variant_dir='build/$VARIANT/src')
|
||||
env.SConscript(["examples/SConscript"], variant_dir='build/$VARIANT/examples')
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue