parent
b3074e49eb
commit
775b680826
7 changed files with 9 additions and 9 deletions
@ -1,3 +1,3 @@ |
||||
project('c++ pch test', 'c++') |
||||
project('c++ pch test', 'cxx') |
||||
exe = executable('prog', 'prog.cc') |
||||
exe.pch('pch/prog.hh') |
||||
|
@ -1,4 +1,4 @@ |
||||
project('mixed C and C++ pch test', 'c++', 'c') |
||||
project('mixed C and C++ pch test', 'cxx', 'c') |
||||
|
||||
exe = executable('prog', 'main.cc', 'func.c') |
||||
exe.pch('pch/main.hh', 'pch/func.h') |
||||
|
@ -1,3 +1,3 @@ |
||||
project('c++ test', 'c++') |
||||
project('c++ test', 'cxx') |
||||
exe = executable('trivialprog', 'trivial.cc') |
||||
add_test('runtest', exe) |
||||
|
@ -1,8 +1,8 @@ |
||||
project('local arg test', 'c++', 'c') |
||||
project('local arg test', 'cxx', 'c') |
||||
|
||||
exe1 = executable('prog', 'prog.cc', 'func.c') |
||||
|
||||
exe1.add_compiler_args('c', '-DCTHING') |
||||
exe1.add_compiler_args('c++', '-DCXXTHING') |
||||
exe1.add_compiler_args('cxx', '-DCXXTHING') |
||||
|
||||
add_test('prog1', exe1) |
||||
|
@ -1,3 +1,3 @@ |
||||
project('mixed C and C++', 'c', 'c++') |
||||
project('mixed C and C++', 'c', 'cxx') |
||||
exe = executable('prog', 'main.cc', 'func.c') |
||||
add_test('mixtest', exe) |
||||
|
Loading…
Reference in new issue