Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

Commit

Permalink
small build changes
Browse files Browse the repository at this point in the history
  • Loading branch information
kazzmir committed Nov 22, 2016
1 parent 824cca4 commit 9102866
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ def getLibName():

libname = getLibName()

env.Append(CPPPATH = [Dir('include', Dir('.').rel_path(Dir('#' + root)))])

env.VariantDir(build_dir, 'src')
libs = env.SConscript('src/SConscript', variant_dir=build_dir, exports=['env', 'options', 'root'])
rtech1 = env.StaticLibrary(libname, libs)
Expand Down Expand Up @@ -126,6 +128,8 @@ else:
env.Command('uninstall', None, needsudo)
env.Depends('uninstall', ['rtech1', 'tests'])

# env.Install('headers', Dir('include', Dir('.').rel_path(Dir("#%s" % root))).abspath)

# env.Default(rtech1)
env.Alias('tests', unit_tests)

Expand Down
2 changes: 1 addition & 1 deletion SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ if not scons_rtech1.utils.isVerbose():
env = scons_rtech1.utils.less_verbose(env)

root = '.'
SConscript('SConscript', exports = ['env', 'root'])
env.Default(SConscript('SConscript', exports = ['env', 'root']))

0 comments on commit 9102866

Please sign in to comment.