Skip to content

Commit

Permalink
Made cmake script move built exe to deploy dir
Browse files Browse the repository at this point in the history
  • Loading branch information
bmcdorman committed Dec 4, 2011
1 parent b31297a commit eef01da
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,11 @@ ELSEIF(WIN32)
ADD_EXECUTABLE(KISS WIN32 ${KISS_SRCS_CXX})
ENDIF()

SET(EXECUTABLE_OUTPUT_PATH ${KISS_SOURCE_DIR}/deploy)
TARGET_LINK_LIBRARIES(KISS ${QT_LIBRARIES} qscintilla2)

IF(APPLE)
ADD_CUSTOM_TARGET(addframeworks ALL
COMMAND ${QT_BINARY_DIR}/macdeployqt KISS.app
ADD_CUSTOM_TARGET(MacDeployQt ALL
COMMAND ${QT_BINARY_DIR}/macdeployqt ${KISS_SOURCE_DIR}/deploy/KISS.app -verbose=0
WORKING_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY})
ENDIF()

0 comments on commit eef01da

Please sign in to comment.