mirror of
https://github.com/minetest/minetestmapper.git
synced 2024-12-27 03:10:37 +01:00
Changed compiler flags.
This commit is contained in:
parent
88bf8bc88b
commit
660b543491
@ -4,7 +4,7 @@ cmake_policy(SET CMP0003 NEW)
|
|||||||
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
|
set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
|
||||||
|
|
||||||
if(CMAKE_COMPILER_IS_GNUCXX)
|
if(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "-std=c++0x -Wall -DNDEBUG")
|
set(CMAKE_CXX_FLAGS_RELEASE "-O2 -std=c++0x -Wall -DNDEBUG")
|
||||||
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -std=c++0x -Wall -Wextra -DDEBUG")
|
set(CMAKE_CXX_FLAGS_DEBUG "-O0 -g -std=c++0x -Wall -Wextra -DDEBUG")
|
||||||
endif(CMAKE_COMPILER_IS_GNUCXX)
|
endif(CMAKE_COMPILER_IS_GNUCXX)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user