Blame c++/perspective/src/SConstruct
|
|
531f67 |
|
|
|
531f67 |
env = Environment()
|
|
|
531f67 |
|
|
|
531f67 |
|
|
|
531f67 |
# config
|
|
|
531f67 |
|
|
|
531f67 |
libs = ['gtkmm-3.0']
|
|
|
531f67 |
|
|
|
531f67 |
|
|
|
531f67 |
# compute build options
|
|
|
531f67 |
|
|
|
531f67 |
flags = ' -O0 -g -Wall -fmessage-length=0 '
|
|
|
531f67 |
|
|
|
531f67 |
|
|
|
531f67 |
# files lists
|
|
|
531f67 |
|
|
|
531f67 |
target = 'perspective'
|
|
|
531f67 |
|
|
|
531f67 |
sources = [
|
|
|
531f67 |
'generator.cpp',
|
|
|
2a4477 |
'generatorsandboxview.cpp',
|
|
|
531f67 |
'main.cpp',
|
|
|
538bb7 |
'mainwindow.cpp',
|
|
|
14f971 |
'matrix.cpp',
|
|
|
4dc49c |
'perspective.cpp',
|
|
|
0662a2 |
'perspectivesandboxview.cpp',
|
|
|
fdabb2 |
'surface.cpp',
|
|
|
fdabb2 |
'view.cpp' ]
|
|
|
531f67 |
|
|
|
531f67 |
|
|
|
531f67 |
# build
|
|
|
531f67 |
|
|
|
531f67 |
env.ParseConfig('pkg-config --cflags --libs ' + ' '.join(libs))
|
|
|
531f67 |
|
|
|
531f67 |
env.Program(
|
|
|
531f67 |
target = target,
|
|
|
531f67 |
source = sources,
|
|
|
531f67 |
parse_flags = flags )
|