Use CMake release mode.
This commit is contained in:
parent
b5196b1776
commit
7a456884ae
|
@ -20,6 +20,8 @@
|
||||||
project(Monicelli)
|
project(Monicelli)
|
||||||
cmake_minimum_required(VERSION 2.8)
|
cmake_minimum_required(VERSION 2.8)
|
||||||
|
|
||||||
|
set(CMAKE_BUILD_TYPE Release)
|
||||||
|
|
||||||
message("== Only a limited set of platforms was tested. We need your help!")
|
message("== Only a limited set of platforms was tested. We need your help!")
|
||||||
message("== Report build errors to https://github.com/esseks/monicelli/issues")
|
message("== Report build errors to https://github.com/esseks/monicelli/issues")
|
||||||
|
|
||||||
|
@ -87,7 +89,7 @@ include_directories(
|
||||||
|
|
||||||
add_definitions(
|
add_definitions(
|
||||||
-Wall -Wextra -Werror -Wno-unused-parameter -Wno-deprecated-register
|
-Wall -Wextra -Werror -Wno-unused-parameter -Wno-deprecated-register
|
||||||
-std=c++0x -DYYDEBUG=0 -O2
|
-std=c++0x -DYYDEBUG=0
|
||||||
)
|
)
|
||||||
|
|
||||||
bison_target(Parser Monicelli.ypp ${CMAKE_CURRENT_BINARY_DIR}/Parser.cpp)
|
bison_target(Parser Monicelli.ypp ${CMAKE_CURRENT_BINARY_DIR}/Parser.cpp)
|
||||||
|
|
Reference in New Issue
Block a user