diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-11-04 20:21:15 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2002-11-04 20:21:15 (GMT) |
commit | f0facf6584518c58e7eff25b10bc03046484f71a (patch) | |
tree | 64541bfee15f86451c0f8e2ae0b4040e2d7fb8d9 /Source/WXDialog/CMakeLists.txt | |
parent | cf02c156d2f0091d9dcb56994c2d9f50e0cb1f76 (diff) | |
download | CMake-f0facf6584518c58e7eff25b10bc03046484f71a.zip CMake-f0facf6584518c58e7eff25b10bc03046484f71a.tar.gz CMake-f0facf6584518c58e7eff25b10bc03046484f71a.tar.bz2 |
Get the Mac resources done
Diffstat (limited to 'Source/WXDialog/CMakeLists.txt')
-rw-r--r-- | Source/WXDialog/CMakeLists.txt | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Source/WXDialog/CMakeLists.txt b/Source/WXDialog/CMakeLists.txt index 2c390db..b55521e 100644 --- a/Source/WXDialog/CMakeLists.txt +++ b/Source/WXDialog/CMakeLists.txt @@ -45,15 +45,19 @@ IF ( CMAKE_WX_CAN_COMPILE ) COMMAND ${CMAKE_COMMAND} ARGS -E copy ${EXECUTABLE_OUTPUT_PATH}/wxCMakeSetup - ${EXECUTABLE_OUTPUT_PATH}/CMake.app/Contents/MacOS/wxCMakeSetup + ${EXECUTABLE_OUTPUT_PATH}/CMake.app/Contents/MacOS/wxCMakeSetup.lala TARGET wxCMakeSetup) + ADD_EXECUTABLE(CMake.app/Contents/MacOS/wxCMakeSetup ${WIN32_EXECUTABLE} ${WX_SRCS}) + TARGET_LINK_LIBRARIES(CMake.app/Contents/MacOS/wxCMakeSetup ${WXWINDOWS_LIBRARY}) + TARGET_LINK_LIBRARIES(CMake.app/Contents/MacOS/wxCMakeSetup CMakeLib) + ADD_CUSTOM_COMMAND( - SOURCE wxCMakeSetup + SOURCE CMake.app/Contents/MacOS/wxCMakeSetup COMMAND ${CMAKE_COMMAND} ARGS -E chdir ${EXECUTABLE_OUTPUT_PATH}/CMake.app/Contents/MacOS `${CMAKE_WX_CONFIG} --rezflags` ${EXECUTABLE_OUTPUT_PATH}/CMake.app/Contents/MacOS/wxCMakeSetup - TARGET wxCMakeSetup + TARGET CMake.app/Contents/MacOS/wxCMakeSetup ) ENDIF(APPLE) |