projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
963fb96
)
Enabled C++11 support
author
Ingo Ruhnke
<grumbel@gmail.com>
Sun, 3 Aug 2014 16:29:46 +0000
(18:29 +0200)
committer
Ingo Ruhnke
<grumbel@gmail.com>
Sun, 3 Aug 2014 18:57:20 +0000
(20:57 +0200)
CMakeLists.txt
patch
|
blob
|
history
diff --git
a/CMakeLists.txt
b/CMakeLists.txt
index
676d2a4
..
08f8137
100644
(file)
--- a/
CMakeLists.txt
+++ b/
CMakeLists.txt
@@
-227,6
+227,7
@@
ENDIF(COMPILE_AMALGATION)
OPTION(WERROR "Stop on first compiler warning" OFF)
OPTION(WARNINGS "Enable long list of warnings for compiler to check" OFF)
IF(CMAKE_COMPILER_IS_GNUCC)
+ SET(CMAKE_CXX_FLAGS "-std=c++0x")
SET(CMAKE_CXX_FLAGS_DEBUG "-O0 -g" CACHE STRING "Debug flags")
SET(CMAKE_C_FLAGS_DEBUG "-O0 -g" CACHE STRING "Debug flags")
SET(CMAKE_CXX_FLAGS_PROFILE "-pg" CACHE STRING "Profile flags")