mirror of
https://github.com/Ed94/gencpp.git
synced 2025-07-01 03:11:03 -07:00
Fixes + more setup, added more directories to clean script.
This commit is contained in:
@ -0,0 +1,11 @@
|
||||
#define GEN_DEFINE_LIBRARY_CODE_CONSTANTS
|
||||
#define GEN_ENFORCE_STRONG_CODE_TYPES
|
||||
#define GEN_EXPOSE_BACKEND
|
||||
#include "gen.cpp"
|
||||
|
||||
using namespace gen;
|
||||
|
||||
int gen_main()
|
||||
{
|
||||
return 0;
|
||||
}
|
@ -7,7 +7,7 @@ includes = include_directories(
|
||||
|
||||
sources = [ 'gen.singleheader.cpp' ]
|
||||
|
||||
if get_option('buildtype').sartswith('debug')
|
||||
if get_option('buildtype').startswith('debug')
|
||||
|
||||
add_project_arguments('-DBuild_Debug', language : ['c', 'cpp'])
|
||||
|
||||
|
Reference in New Issue
Block a user