# -*- python -*-
##
## SConscript  -  SCons buildscript for experiments and investigations.
##                Things defined here usuall won't be installed
##

Import('env envGtk core support_lib')



envR = env.Clone()
envR.Append(CPPPATH='research')
# envR.Append(CCFLAGS=' -O3 ')

envRGtk = envGtk.Clone()
envRGtk.Append(CPPPATH='research')

# build additional test and administrative tools....
experiments = [ envR.Program('try', ['try.cpp'] + core)          #### to try out some feature...
              , envR.Program('clang-static-init', ['clang-static-init-1.cpp', 'clang-static-init-2.cpp'])
              
              , envRGtk.Program('gtk-canvas-experiment', ['gtk-canvas-experiment.cpp', 'gtk-canvas-main.cpp'] + core)
              , envRGtk.Program('gtk-style-experiment',  ['gtk-style-experiment.cpp'] + core)
              , env.GuiResource('gtk-style-experiment.css')
              ]

#
# define Phony targets
#  - 'scons research' triggers building of experimental code
#
env.Alias('research', experiments )
