KDE/kdelibs/cmake/modules

Alexander Neundorf neundorf at kde.org
Thu Jan 11 18:47:45 CET 2007


SVN commit 622373 by neundorf:


cosmetic fix, now the parameter for GUI apps is handled the same way both under Windows and OSX

Alex

CCMAIL: kde-buildsystem at kde.org

It does still work under windows, right ?



 M  +7 -5      KDE4Macros.cmake  


--- trunk/KDE/kdelibs/cmake/modules/KDE4Macros.cmake #622372:622373
@@ -627,19 +627,21 @@
    set(_type "GUI")
 
    # determine additional parameters for add_executable()
+   # for GUI apps, create a bundle on OSX
    if (APPLE)
       set(_add_executable_param MACOSX_BUNDLE)
    endif (APPLE)
 
+   # for GUI apps, this disables the additional console under Windows
+   if (WIN32)
+      set(_add_executable_param WIN32)
+   endif (WIN32)
+
    if (_nogui)
       set(_type "NOGUI")
       set(_add_executable_param)
-   else (_nogui)
-     if (WIN32)
-       set(_add_executable_param WIN32)
-     endif (WIN32)
    endif (_nogui)
-   
+
    if (_uninst)
       set(_type "RUN_UNINSTALLED")
    endif (_uninst)


More information about the Kde-buildsystem mailing list