2011-12-03 06:10:12 +01:00
|
|
|
# -*- python -*-
|
|
|
|
|
##
|
|
|
|
|
## SConscript - SCons buildscript for experiments and investigations.
|
|
|
|
|
## Things defined here usuall won't be installed
|
|
|
|
|
##
|
|
|
|
|
|
2018-10-07 03:44:00 +02:00
|
|
|
Import('env envGtk core support_lib')
|
2011-12-03 06:10:12 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-01-07 02:53:07 +01:00
|
|
|
envR = env.Clone()
|
2013-09-30 00:42:27 +02:00
|
|
|
envR.Append(CPPPATH='research')
|
2012-01-07 02:53:07 +01:00
|
|
|
# envR.Append(CCFLAGS=' -O3 ')
|
2011-12-03 06:10:12 +01:00
|
|
|
|
2018-10-07 03:44:00 +02:00
|
|
|
envRGtk = envGtk.Clone()
|
|
|
|
|
envRGtk.Append(CPPPATH='research')
|
|
|
|
|
|
2011-12-03 06:10:12 +01:00
|
|
|
# build additional test and administrative tools....
|
2016-01-15 23:55:44 +01:00
|
|
|
experiments = [ envR.Program('try', ['try.cpp'] + core) #### to try out some feature...
|
2018-10-07 03:44:00 +02:00
|
|
|
, 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)
|
2019-07-31 22:54:23 +02:00
|
|
|
, envRGtk.Program('gtk-style-experiment', ['gtk-style-experiment.cpp'] + core)
|
2019-07-31 23:27:33 +02:00
|
|
|
, env.GuiResource('gtk-style-experiment.css')
|
2011-12-03 06:10:12 +01:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
#
|
|
|
|
|
# define Phony targets
|
|
|
|
|
# - 'scons research' triggers building of experimental code
|
|
|
|
|
#
|
|
|
|
|
env.Alias('research', experiments )
|