parent
fd232c3114
commit
39e25a0479
@ -0,0 +1,32 @@
|
||||
#!/usr/bin/python
|
||||
|
||||
import os
|
||||
import cxxtest
|
||||
|
||||
env = Environment( ENV = {
|
||||
'PATH' : "/usr/lib/colorgcc/bin:" + os.environ['PATH'],
|
||||
'TERM' : os.environ['TERM'],
|
||||
'HOME' : os.environ['HOME'],
|
||||
'CCACHE_PATH' : "/usr/bin",
|
||||
'CXX' : '/usr/lib/colorgcc/bin/g++',
|
||||
'CCACHE_LOGFILE' : '/tmp/denes.txt'
|
||||
#'tools' : ['default', 'cxxtest']
|
||||
})
|
||||
|
||||
env['CXXFLAGS'] = '-Wall -Wextra -pedantic -Wshadow -Weffc++ -std=c++0x -ggdb'
|
||||
env['CPPPATH'] = 'include'
|
||||
env['tools'] = ['default', 'cxxtest']
|
||||
|
||||
#from pprint import pprint
|
||||
#pprint (vars(env))
|
||||
|
||||
env.SharedLibrary('cpp_utils',
|
||||
Glob('src/*.cpp'),
|
||||
LIBS = ['pthread', 'rt'] )
|
||||
|
||||
#env.Program('test/test',
|
||||
#'test/generated_main.cpp',
|
||||
#LIBS = ['cpp_utils'],
|
||||
#LIBPATH = '.')
|
||||
|
||||
env.CxxTest('target')
|
Loading…
Reference in new issue