From 7a456884aeb9f9c889946f986c840e13b976d772 Mon Sep 17 00:00:00 2001 From: Stefano Sanfilippo Date: Sun, 8 Mar 2015 13:27:39 +0100 Subject: [PATCH] Use CMake release mode. --- CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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)