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

List:       kde-commits
Subject:    [gcompris] src/core: compil chain, remove console for windows
From:       Johnny Jazeix <jazeix () gmail ! com>
Date:       2015-04-30 20:17:06
Message-ID: E1YnutO-00077k-OJ () scm ! kde ! org
[Download RAW message or body]

Git commit ad26930f896d292b611865ea096b5db169b1c92f by Johnny Jazeix.
Committed on 30/04/2015 at 19:51.
Pushed by jjazeix into branch 'master'.

compil chain, remove console for windows

M  +5    -0    src/core/CMakeLists.txt

http://commits.kde.org/gcompris/ad26930f896d292b611865ea096b5db169b1c92f

diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt
index 77fc258..854eb34 100644
--- a/src/core/CMakeLists.txt
+++ b/src/core/CMakeLists.txt
@@ -70,6 +70,11 @@ endif()
 =

 target_link_libraries(${GCOMPRIS_EXECUTABLE_NAME} ${QT_LIBRARIES})
 =

+if(CMAKE_HOST_WIN32)
+  # Remove the console for windows
+  set_target_properties(${GCOMPRIS_EXECUTABLE_NAME} PROPERTIES LINK_FLAGS =
-Wl,-subsystem,windows)
+endif()
+
 GCOMPRIS_ADD_RCC(core *.qml *.js resource/*.${COMPRESSED_AUDIO} resource/*=
.gif resource/*.png resource/*.svg resource/bonus/* resource/sounds/* resou=
rce/fonts/* qmldir)
 =

 # Installation
[prev in list] [next in list] [prev in thread] [next in thread] 

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