mirror of
https://github.com/Ed94/gencpp.git
synced 2025-06-14 18:51:47 -07:00
test.cpp gen_time compiles (has memory issues though)
This commit is contained in:
0
test/gen/math.gen.hpp
Normal file
0
test/gen/math.gen.hpp
Normal file
@ -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