aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorRenaud G <renaud@rolisteam.org>2016-01-30 17:51:20 +0100
committerRenaud G <renaud@rolisteam.org>2016-01-30 17:51:20 +0100
commitc11896701cdc28e6a363af9242c111164f14e074 (patch)
treeee2476ad1c55474fd338b23ceaa111818cae6012
parentd0382d1e01646c6bc634ed08fe1c9aa009470432 (diff)
downloadOneRoll-c11896701cdc28e6a363af9242c111164f14e074.tar.gz
OneRoll-c11896701cdc28e6a363af9242c111164f14e074.zip
-add c++11 support for DiceParser
-rw-r--r--CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 11821d5..cc9a6ef 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,6 +19,10 @@ add_definitions(${Qt5Core_DEFINITIONS})
set(MODE "cli")
+ADD_DEFINITIONS(
+ -std=c++11 # Or -std=c++0x
+ # Other flags
+)
add_executable(
dice
diceparser.cpp