From 53853f58c369318e35df60911d20f4d1309592a0 Mon Sep 17 00:00:00 2001 From: Michael Hansen Date: Sun, 12 Jul 2015 14:24:50 -0700 Subject: [PATCH] Generate a .app bundle for GUI tools on Mac --- Sources/Tools/plFontConverter/CMakeLists.txt | 7 ++++--- Sources/Tools/plLocalizationEditor/CMakeLists.txt | 7 ++++--- Sources/Tools/plResBrowser/CMakeLists.txt | 3 ++- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/Sources/Tools/plFontConverter/CMakeLists.txt b/Sources/Tools/plFontConverter/CMakeLists.txt index 8845dd44..27ad884b 100644 --- a/Sources/Tools/plFontConverter/CMakeLists.txt +++ b/Sources/Tools/plFontConverter/CMakeLists.txt @@ -40,9 +40,10 @@ qt5_wrap_ui(plFontConverter_UIC ${plFontConverter_UIC_SOURCES}) include_directories(${CMAKE_CURRENT_SOURCE_DIR}) include_directories(${CMAKE_CURRENT_BINARY_DIR}) -add_executable(plFontConverter WIN32 ${plFontConverter_HEADERS} - ${plFontConverter_SOURCES} ${plFontConverter_RCC} - ${plFontConverter_UIC} ${plFontConverter_MOC}) +add_executable(plFontConverter WIN32 MACOSX_BUNDLE + ${plFontConverter_HEADERS} ${plFontConverter_SOURCES} + ${plFontConverter_RCC} ${plFontConverter_UIC} + ${plFontConverter_MOC}) target_link_libraries(plFontConverter CoreLib) target_link_libraries(plFontConverter pnKeyedObject) diff --git a/Sources/Tools/plLocalizationEditor/CMakeLists.txt b/Sources/Tools/plLocalizationEditor/CMakeLists.txt index 149e2725..55665b36 100644 --- a/Sources/Tools/plLocalizationEditor/CMakeLists.txt +++ b/Sources/Tools/plLocalizationEditor/CMakeLists.txt @@ -42,9 +42,10 @@ qt5_wrap_ui(plLocalizationEditor_UIC ${plLocalizationEditor_UIC_SOURCES}) include_directories(${CMAKE_CURRENT_SOURCE_DIR}) include_directories(${CMAKE_CURRENT_BINARY_DIR}) -add_executable(plLocalizationEditor WIN32 ${plLocalizationEditor_HEADERS} - ${plLocalizationEditor_SOURCES} ${plLocalizationEditor_RCC} - ${plLocalizationEditor_UIC} ${plLocalizationEditor_MOC}) +add_executable(plLocalizationEditor WIN32 MACOSX_BUNDLE + ${plLocalizationEditor_HEADERS} ${plLocalizationEditor_SOURCES} + ${plLocalizationEditor_RCC} ${plLocalizationEditor_UIC} + ${plLocalizationEditor_MOC}) target_link_libraries(plLocalizationEditor CoreLib) target_link_libraries(plLocalizationEditor pnSceneObject) diff --git a/Sources/Tools/plResBrowser/CMakeLists.txt b/Sources/Tools/plResBrowser/CMakeLists.txt index 624b3401..a2807991 100644 --- a/Sources/Tools/plResBrowser/CMakeLists.txt +++ b/Sources/Tools/plResBrowser/CMakeLists.txt @@ -44,7 +44,8 @@ qt5_wrap_ui(plResBrowser_UIC ${plResBrowser_UIC_SOURCES}) include_directories(${CMAKE_CURRENT_SOURCE_DIR}) include_directories(${CMAKE_CURRENT_BINARY_DIR}) -add_executable(plResBrowser WIN32 ${plResBrowser_SOURCES} ${plResBrowser_HEADERS} +add_executable(plResBrowser WIN32 MACOSX_BUNDLE + ${plResBrowser_SOURCES} ${plResBrowser_HEADERS} ${plResBrowser_RCC} ${plResBrowser_UIC} ${plResBrowser_MOC}) target_link_libraries(plResBrowser CoreLib)