diff --git a/SConstruct b/SConstruct index 4fbfa0b84..16c8c3123 100644 --- a/SConstruct +++ b/SConstruct @@ -190,6 +190,7 @@ USAGE: scons [-c] [OPTS] [key=val [key=val...]] [TARGETS] Special Targets: build : just compile and link + research: build experimental code (might fail) testcode: additionally compile the Testsuite check : build and run the Testsuite doc : generate documentation (Doxygen) @@ -370,13 +371,12 @@ def defineBuildTargets(env, artifacts): ) # call subdir SConscript(s) for independent components - SConscript(dirs=['src/tool'], exports='env artifacts core') - SConscript(dirs=['tests'], exports='env artifacts core') + SConscript(dirs=['src/tool','research','tests'], exports='env artifacts core') def definePostBuildTargets(env, artifacts): - """ define further actions after the core build (e.g. Documentaion). + """ define further actions after the core build (e.g. Documentation). define alias targets to trigger the installing. """ build = env.Alias('build', ( artifacts['lumiera'] diff --git a/research/DIR_INFO b/research/DIR_INFO new file mode 100644 index 000000000..59b2583f4 --- /dev/null +++ b/research/DIR_INFO @@ -0,0 +1 @@ +Experiments and Investigations. Not installed diff --git a/research/SConscript b/research/SConscript new file mode 100644 index 000000000..0fef0dae8 --- /dev/null +++ b/research/SConscript @@ -0,0 +1,21 @@ +# -*- python -*- +## +## SConscript - SCons buildscript for experiments and investigations. +## Things defined here usuall won't be installed +## + +Import('env','artifacts','core') + +support_lib = artifacts['support'] + + + +# build additional test and administrative tools.... +experiments = [ env.Program('try', ['try.cpp'] + support_lib) #### to try out some feature... + ] + +# +# define Phony targets +# - 'scons research' triggers building of experimental code +# +env.Alias('research', experiments ) diff --git a/src/tool/try.cpp b/research/try.cpp similarity index 100% rename from src/tool/try.cpp rename to research/try.cpp diff --git a/src/tool/SConscript b/src/tool/SConscript index 583b7032f..49f03addf 100644 --- a/src/tool/SConscript +++ b/src/tool/SConscript @@ -17,7 +17,6 @@ rsvg = envSvg.Program('rsvg-convert','rsvg-convert.c') # build additional test and administrative tools.... artifacts['tools'] = [ env.Program('hello-world','hello.c', install=True) #### hello world (checks C build) - + env.Program('try', ['try.cpp'] + support_lib) #### to try out some feature... + luidgen + rsvg ]