Browse Source

Generate a .app bundle for GUI tools on Mac

Michael Hansen 10 years ago
parent
commit
53853f58c3
  1. 7
      Sources/Tools/plFontConverter/CMakeLists.txt
  2. 7
      Sources/Tools/plLocalizationEditor/CMakeLists.txt
  3. 3
      Sources/Tools/plResBrowser/CMakeLists.txt

7
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_SOURCE_DIR})
include_directories(${CMAKE_CURRENT_BINARY_DIR}) include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_executable(plFontConverter WIN32 ${plFontConverter_HEADERS} add_executable(plFontConverter WIN32 MACOSX_BUNDLE
${plFontConverter_SOURCES} ${plFontConverter_RCC} ${plFontConverter_HEADERS} ${plFontConverter_SOURCES}
${plFontConverter_UIC} ${plFontConverter_MOC}) ${plFontConverter_RCC} ${plFontConverter_UIC}
${plFontConverter_MOC})
target_link_libraries(plFontConverter CoreLib) target_link_libraries(plFontConverter CoreLib)
target_link_libraries(plFontConverter pnKeyedObject) target_link_libraries(plFontConverter pnKeyedObject)

7
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_SOURCE_DIR})
include_directories(${CMAKE_CURRENT_BINARY_DIR}) include_directories(${CMAKE_CURRENT_BINARY_DIR})
add_executable(plLocalizationEditor WIN32 ${plLocalizationEditor_HEADERS} add_executable(plLocalizationEditor WIN32 MACOSX_BUNDLE
${plLocalizationEditor_SOURCES} ${plLocalizationEditor_RCC} ${plLocalizationEditor_HEADERS} ${plLocalizationEditor_SOURCES}
${plLocalizationEditor_UIC} ${plLocalizationEditor_MOC}) ${plLocalizationEditor_RCC} ${plLocalizationEditor_UIC}
${plLocalizationEditor_MOC})
target_link_libraries(plLocalizationEditor CoreLib) target_link_libraries(plLocalizationEditor CoreLib)
target_link_libraries(plLocalizationEditor pnSceneObject) target_link_libraries(plLocalizationEditor pnSceneObject)

3
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_SOURCE_DIR})
include_directories(${CMAKE_CURRENT_BINARY_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}) ${plResBrowser_RCC} ${plResBrowser_UIC} ${plResBrowser_MOC})
target_link_libraries(plResBrowser CoreLib) target_link_libraries(plResBrowser CoreLib)

Loading…
Cancel
Save