-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSConstruct
More file actions
24 lines (19 loc) · 707 Bytes
/
SConstruct
File metadata and controls
24 lines (19 loc) · 707 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
VariantDir(".obj/", "./", duplicate=0);
env = Environment() # Initialize the environment
env.Append(CCFLAGS = ['-g','-O3'])
#env.Append(LIBS = ['boost_system','boost_filesystem', 'boost_thread'])
env.Append(CPPDEFINES={'RELEASE_BUILD' : '1'})
env.Append(LIBPATH = ['/usr/local/lib/'])
env.Append(CPPDEFINES=['BIG_ENDIAN'])
env.Append(CPPPATH = ['/usr/local/include/',
'/usr/lib/jvm/java-8-openjdk-amd64/include/',
'/usr/lib/jvm/java-8-openjdk-amd64/include/linux/',
'../', './'])
env.SharedLibrary(
target = 'cityhash',
source = [".obj/city.cc", ".obj/city_wrap.cxx"]
)
env.Program(
target = "test",
source = [".obj/city.cc", ".obj/test.cc"]
)