[amarok/tagguessing] /: Enable C++11 features, as discussed with other core devs.

Vedant Agarwala vedant.kota at gmail.com
Wed May 21 10:25:14 UTC 2014


Git commit 64c414b4efde1bdd934182cc9090e10920a2ee4e by Vedant Agarwala, on behalf of Mark Kretschmann.
Committed on 20/10/2013 at 16:09.
Pushed by vedanta into branch 'tagguessing'.

Enable C++11 features, as discussed with other core devs.

Let the fun begin :)

CCMAIL: amarok-devel at kde.org

M  +2    -0    CMakeLists.txt
M  +2    -0    ChangeLog

http://commits.kde.org/amarok/64c414b4efde1bdd934182cc9090e10920a2ee4e

diff --git a/CMakeLists.txt b/CMakeLists.txt
index fa1ab0c..58cde99 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,6 +16,8 @@ option(WITH_PLAYGROUND "Enable building of playground scripts and applets (WARNI
 include(CheckLibraryExists)
 check_library_exists(dl dlopen "" LIBDL_FOUND)
 
+SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")  # Require C++11
+
 
 ############### Taglib
 set(TAGLIB_MIN_VERSION "1.7")
diff --git a/ChangeLog b/ChangeLog
index b6ad644..c962483 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -8,6 +8,8 @@ VERSION 2.9-Beta 1
    * Wikipedia can now be also used over SSL.
 
   CHANGES:
+   * Amarok now uses some C++11 features. The subset used is defined by the 
+     compilers currently supported by KDE.
 
   BUGFIXES:
    * Fixed crashes with Intel drivers due to Analyzer applet. (BR 323635)



More information about the Amarok-devel mailing list