[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: [kdev-ruby] /: Enable C++11
From: Milian Wolff <mail () milianw ! de>
Date: 2013-12-14 15:33:59
Message-ID: E1VrrE7-0002SL-Pp () scm ! kde ! org
[Download RAW message or body]
Git commit 1a7c387fb5f05cade0775124ba8a8604897e407d by Milian Wolff.
Committed on 14/12/2013 at 15:12.
Pushed by mwolff into branch 'master'.
Enable C++11
M +4 -0 CMakeLists.txt
http://commits.kde.org/kdev-ruby/1a7c387fb5f05cade0775124ba8a8604897e407d
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a256c3a..ebc85e3 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -31,6 +31,10 @@ include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
)
+if(CMAKE_COMPILER_IS_GNUCXX OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang" OR \
CMAKE_CXX_COMPILER_ID STREQUAL "Intel") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} \
-std=c++11") +endif()
+
add_subdirectory(parser)
add_subdirectory(duchain)
add_subdirectory(navigation)
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic