mirror of
https://thingvellir.net/git/overte
synced 2025-03-27 23:52:03 +01:00
Working on Mac installation of nitpick.
This commit is contained in:
parent
d0d411da20
commit
2f4f0b8d80
2 changed files with 12 additions and 2 deletions
|
@ -150,6 +150,8 @@ macro(SET_PACKAGING_PARAMETERS)
|
|||
set(CONSOLE_EXEC_NAME "Sandbox.app")
|
||||
endif()
|
||||
|
||||
set(NITPICK_EXEC_NAME "nitpick")
|
||||
|
||||
set(CONSOLE_INSTALL_APP_PATH "${CONSOLE_INSTALL_DIR}/${CONSOLE_EXEC_NAME}")
|
||||
|
||||
set(CONSOLE_APP_CONTENTS "${CONSOLE_INSTALL_APP_PATH}/Contents")
|
||||
|
|
|
@ -74,11 +74,19 @@ elseif (APPLE)
|
|||
endif ()
|
||||
|
||||
# set the packaged nitpick folder depending on platform, so we can copy it
|
||||
if (WIN32)
|
||||
if (APPLE)
|
||||
set(PACKAGED_NITPICK_FOLDER "Release/${NITPICK_EXEC_NAME}")
|
||||
elseif (WIN32)
|
||||
set(PACKAGED_NITPICK_FOLDER "Release")
|
||||
endif ()
|
||||
|
||||
if (WIN32)
|
||||
if (APPLE)
|
||||
install(
|
||||
DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/${PACKAGED_NITPICK_FOLDER}"
|
||||
USE_SOURCE_PERMISSIONS
|
||||
DESTINATION ${NITPICK_INSTALL_DIR}
|
||||
)
|
||||
elseif (WIN32)
|
||||
set(NITPICK_DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/${PACKAGED_NITPICK_FOLDER}")
|
||||
|
||||
install(
|
||||
|
|
Loading…
Reference in a new issue