Git commit ad83a4bbc5d217768701e91d072e723fa10ae2da by Edward Hades. Committed on 31/05/2013 at 12:46. Pushed by hades into branch 'master'.
add -Wall and -Wextra to the debug build flags Watch out for those warnings now! CCMAIL: amarok-devel@kde.org M +1 -0 CMakeLists.txt http://commits.kde.org/amarok/ad83a4bbc5d217768701e91d072e723fa10ae2da diff --git a/CMakeLists.txt b/CMakeLists.txt index 997935f..e7958e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,6 +117,7 @@ endif( FFMPEG_FOUND ) string( TOLOWER "${CMAKE_BUILD_TYPE}" CMAKE_BUILD_TYPE_TOLOWER ) if( CMAKE_BUILD_TYPE_TOLOWER MATCHES debug ) set( DEBUG_BUILD_TYPE ON ) + add_definitions(-Wall -Wextra) endif( CMAKE_BUILD_TYPE_TOLOWER MATCHES debug ) # this needs to be here because also code in shared/ needs config.h. This is also the _______________________________________________ Amarok-devel mailing list Amarok-devel@kde.org https://mail.kde.org/mailman/listinfo/amarok-devel