diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2007-01-10 20:30:26 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2007-01-10 20:30:26 (GMT) |
commit | de5540f7e5215ea1cce982f5e7357f4999c3f908 (patch) | |
tree | 9410e064963651c0b543bdb2941f14fe6b091798 /Source/CMakeLists.txt | |
parent | c2780e2c9a83e50b2cdd5225ede341c7de67d862 (diff) | |
download | CMake-de5540f7e5215ea1cce982f5e7357f4999c3f908.zip CMake-de5540f7e5215ea1cce982f5e7357f4999c3f908.tar.gz CMake-de5540f7e5215ea1cce982f5e7357f4999c3f908.tar.bz2 |
ENH: First pass at CPack generator for OSX X11 applications. This are applications that require X11 to work. This is not really installed but a bundle packager
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r-- | Source/CMakeLists.txt | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index ab2c77e..46b6006 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -286,15 +286,16 @@ TARGET_LINK_LIBRARIES(CTestLib CMakeLib ${CMAKE_CURL_LIBRARIES} ${CMAKE_XMLRPC_L # SET(CPACK_SRCS CPack/cmCPackGenerators.cxx - CPack/cmCPackSTGZGenerator.cxx - CPack/cmCPackTGZGenerator.cxx + CPack/cmCPackGenericGenerator.cxx + CPack/cmCPackLog.cxx CPack/cmCPackNSISGenerator.cxx + CPack/cmCPackOSXX11Generator.cxx CPack/cmCPackPackageMakerGenerator.cxx - CPack/cmCPackZIPGenerator.cxx + CPack/cmCPackSTGZGenerator.cxx + CPack/cmCPackTGZGenerator.cxx CPack/cmCPackTarBZip2Generator.cxx CPack/cmCPackTarCompressGenerator.cxx - CPack/cmCPackGenericGenerator.cxx - CPack/cmCPackLog.cxx + CPack/cmCPackZIPGenerator.cxx ) # Build CPackLib ADD_LIBRARY(CPackLib ${CPACK_SRCS}) @@ -303,6 +304,10 @@ TARGET_LINK_LIBRARIES(CPackLib CMakeLib) IF(APPLE) ADD_EXECUTABLE(cmakexbuild cmakexbuild.cxx) TARGET_LINK_LIBRARIES(cmakexbuild CMakeLib) + ADD_EXECUTABLE(OSXScriptLauncher + MACOSX_BUNDLE CPack/OSXScriptLauncher.cxx) + TARGET_LINK_LIBRARIES(OSXScriptLauncher cmsys) + TARGET_LINK_LIBRARIES(OSXScriptLauncher "-framework Carbon") ENDIF(APPLE) # Build CMake executable |