Fixes + more setup, added more directories to clean script.

This commit is contained in:
2023-07-24 18:56:15 -04:00
parent b5cad6e8a1
commit 4a87a42db0
6 changed files with 31 additions and 12 deletions

View File

@ -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;
}

View File

@ -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'])