forked from maestro-project/maestro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSConstruct
26 lines (22 loc) · 1.16 KB
/
SConstruct
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
env = Environment()
includes = '''
.
./cost-model/include
./cost-model/include/base
./cost-model/include/tools
./cost-model/include/user-api
./cost-model/include/dataflow-analysis
./cost-model/include/dataflow-specification-language
./cost-model/include/design-space-exploration
./cost-model/include/cost-analysis
./cost-model/include/abstract-hardware-model
./cost-model/src
'''
env.Append(LINKFLAGS=['-lboost_program_options', '-lboost_filesystem', '-lboost_system'])
env.Append(CXXFLAGS=['-std=c++17', '-lboost_program_options', '-lboost_filesystem', '-lboost_system'])
env.Append(LIBS=['-lboost_program_options', '-lboost_filesystem', '-lboost_system' ])
env.Append(CPPPATH = Split(includes))
#env.Program("maestro-top.cpp")
#env.Program('maestro', ['maestro-top.cpp', 'lib/src/maestro_v3.cpp', 'lib/src/BASE_base-objects.cpp' ])
env.Program('maestro', ['maestro-top.cpp', 'cost-model/src/BASE_base-objects.cpp' ])
#env.Library('maestro', ['maestro-top.cpp', 'lib/src/maestro_v3.cpp', 'lib/src/BASE_base-objects.cpp' ])