projects
/
lugaru.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fcf8f2
)
Added pedantic to debug build options to avoid problems such as the VLA one in the...
author
Côme Chilliet
<come@chilliet.eu>
Tue, 29 Nov 2016 05:01:14 +0000
(12:01 +0700)
committer
Côme Chilliet
<come@chilliet.eu>
Tue, 29 Nov 2016 05:01:14 +0000
(12:01 +0700)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index 9bad38c599d952a5189a116286e62ee9eeac8741..3f11cf90706d9257de6db47e61689f4236b93015 100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-11,7
+11,7
@@
set(SRCDIR "${CMAKE_CURRENT_SOURCE_DIR}/Source")
### CMake config
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O0 --std=c++11")
-set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wno-parentheses -g -pg --std=c++11")
+set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -Wall -Wno-parentheses -
pedantic -
g -pg --std=c++11")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -Wall -Wno-parentheses -O2 -std=c++11")
if(NOT CMAKE_INSTALL_PREFIX AND WIN32)