-
Notifications
You must be signed in to change notification settings - Fork 0
/
SConstruct
20 lines (20 loc) · 985 Bytes
/
SConstruct
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import os
env = Environment(ENV = {'PATH' : os.environ['PATH']});
common = ['Habitat.cc', 'Predator.cc', 'Individual.cc', 'NeuralNetworkKeeper.cc', 'PopulationGenerator.cc', 'Constants.hh']
#camouflage_files = ['camouflage.cc'] + common
#test_files = ['testNeuralNetworkKeeper.cc'] + common
env.Library('camouflagebase', common,
CCFLAGS='-I/home/michael/include',
LIBS=['libneuralnethack', 'gsl', 'gslcblas', 'm'],
LIBPATH='/home/michael/lib'
)
env.Program('camouflage', 'camouflage.cc',
CXXFLAGS='$CXXFLAGS -Wall -pedantic -g3 -gdwarf-2 -O0',
CCFLAGS=['-I/home/michael/include','-I.'],
LIBS=['libneuralnethack', 'gsl', 'gslcblas', 'm', 'camouflagebase'],
LIBPATH=['/home/michael/lib','.'])
env.Program('testNeuralNetworkKeeper', 'testNeuralNetworkKeeper.cc',
CXXFLAGS='$CXXFLAGS -Wall -pedantic -g3 -gdwarf-2 -O0',
CCFLAGS='-I/home/michael/include',
LIBS=['libneuralnethack', 'gsl', 'gslcblas', 'm', 'camouflagebase'],
LIBPATH=['/home/michael/lib','.'])