[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdev-php-docs] /: Enable C++11
From:       Milian Wolff <mail () milianw ! de>
Date:       2013-12-14 14:34:33
Message-ID: E1VrqIb-00020k-Fx () scm ! kde ! org
[Download RAW message or body]

Git commit 35f67df7b678cef90b07fed344ab363b1f92c157 by Milian Wolff.
Committed on 14/12/2013 at 14:34.
Pushed by mwolff into branch 'master'.

Enable C++11

M  +4    -0    CMakeLists.txt

http://commits.kde.org/kdev-php-docs/35f67df7b678cef90b07fed344ab363b1f92c157

diff --git a/CMakeLists.txt b/CMakeLists.txt
index b1d9489..9ec45ab 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -26,6 +26,10 @@ include_directories(
 
 add_definitions( -DKDE_DEFAULT_DEBUG_AREA=9043 )
 
+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()
+
 ########## shared settings ##########
 set(kdevphpdocs_settings_SRCS
 )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic