Scripts: Srcgen
This commit is contained in:
@ -11,11 +11,11 @@ project(IAEngine)
|
||||
|
||||
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
|
||||
message(STATUS "Configuring IAEngine for Debug..")
|
||||
add_compile_options(-O0)
|
||||
#add_compile_options(-O0)
|
||||
add_compile_definitions("__IA_DEBUG=1")
|
||||
elseif(CMAKE_BUILD_TYPE STREQUAL "Release")
|
||||
message(STATUS "Configuring IAEngine for Release..")
|
||||
add_compile_options(-O3)
|
||||
#add_compile_options(-O3)
|
||||
add_compile_definitions("__IA_DEBUG=0")
|
||||
else()
|
||||
message(FATAL_ERROR "Unknown CMAKE_BUILD_TYPE \"${CMAKE_BUILD_TYPE}\"")
|
||||
|
||||
Reference in New Issue
Block a user