diff options
| author | jussi | 2023-11-15 18:34:34 +0200 |
|---|---|---|
| committer | jussi | 2023-11-15 18:34:34 +0200 |
| commit | 841aa897f1868075134162cc71593ac9c3473115 (patch) | |
| tree | cc03b824d1a16a086aecc7a3246d9b434b7d3118 /CMakeLists.txt | |
| parent | 7b10306ed5c87517800a6058ad84e27c866f81c6 (diff) | |
| download | reilua-enhanced-841aa897f1868075134162cc71593ac9c3473115.tar.gz reilua-enhanced-841aa897f1868075134162cc71593ac9c3473115.tar.bz2 reilua-enhanced-841aa897f1868075134162cc71593ac9c3473115.zip | |
GC_UNLOAD build time define and replaced with flag to change it at runtime.
Diffstat (limited to 'CMakeLists.txt')
| -rw-r--r-- | CMakeLists.txt | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 7194d02..f2b4c7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -8,17 +8,12 @@ set( CMAKE_C_STANDARD 99 ) # Requires C99 standard option( SHARED "Build using dynamic libraries." off ) option( LUAJIT "Use LuaJIT." off ) -option( GC_UNLOAD "Lua garbage collector unloads objects. If off, object unloading should be handled manually." on ) if( NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES ) set( CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE ) set_property( CACHE CMAKE_BUILD_TYPE PROPERTY STRINGS "Debug" "Release" "MinSizeRel" "RelWithDebInfo" ) endif() -if( GC_UNLOAD ) - set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DGC_UNLOAD" ) -endif() - file( GLOB SOURCES src/*.c ) include_directories( include ) |
