diff --git a/CMakeLists.txt b/CMakeLists.txt index d413a97..42e1baf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,6 +20,8 @@ project(Monicelli) 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("== Report build errors to https://github.com/esseks/monicelli/issues") @@ -87,7 +89,7 @@ include_directories( add_definitions( -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)