test.cpp gen_time compiles (has memory issues though)
This commit is contained in:
1 parent
f09fe6aa15
commit
d66c1e4eb4
13 files changed
+238
-264
No files matched your search
Whitespace-only changes.
@@ -4,15 +4,14 @@ project( 'test', 'c', 'cpp', default_options : ['buildtype=debug'] )
|
||||
|
||||
includes = include_directories(
|
||||
[
|
||||
'../test'
|
||||
'../project'
|
||||
, '../thirdparty'
|
||||
'../../project',
|
||||
'../../thirdparty'
|
||||
])
|
||||
|
||||
# get_sources = files('./get_sources.ps1')
|
||||
# sources = files(run_command('powershell', get_sources, check: true).stdout().strip().split('\n'))
|
||||
|
||||
sources = [ 'test.cpp' ]
|
||||
sources = [ '../test.cpp' ]
|
||||
|
||||
if get_option('buildtype').startswith('debug')
|
||||
|
||||
@@ -20,6 +19,6 @@ if get_option('buildtype').startswith('debug')
|
||||
|
||||
endif
|
||||
|
||||
add_project_arguments('-Dgen_time', langauge : ['c', 'cpp'])
|
||||
add_project_arguments('-Dgen_time', language : ['c', 'cpp'])
|
||||
|
||||
executable( '', sources, include_directories : includes )
|
||||
executable( 'gencpp', sources, include_directories : includes )
|
||||
Reference in new issue
Block a user