summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorjussi2022-05-04 23:11:09 +0300
committerjussi2022-05-04 23:11:09 +0300
commitb034aa01dc0ca443eba7c7b12ead7732c3e32240 (patch)
tree42c3ff4ddd36427fd0f1e0bb1d9c9491b095e6ea /CMakeLists.txt
parented4636fa812e64c5391ee9f408092990f33277b4 (diff)
downloadreilua-enhanced-b034aa01dc0ca443eba7c7b12ead7732c3e32240.tar.gz
reilua-enhanced-b034aa01dc0ca443eba7c7b12ead7732c3e32240.tar.bz2
reilua-enhanced-b034aa01dc0ca443eba7c7b12ead7732c3e32240.zip
Image manipulation functions.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index be2d7f2..09a73ab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,8 +7,10 @@ project( ReiLua )
set( CMAKE_C_STANDARD 99 ) # Requires C99 standard
if( DEBUG )
+ message( Debug )
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0 -ggdb -std=c99 -Wall -pedantic -fno-common" )
else()
+ message( Release )
set( CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3 -std=c99 -Wall -pedantic -fno-common" )
endif()