add PACKAGING_TARGET_NAME variable

This commit is contained in:
Stephen Birarda 2015-12-02 15:41:17 -08:00
parent fa4153d2e0
commit 370fc35eaf

View file

@ -1,5 +1,7 @@
# add a command to produce an executable for this platform
add_custom_target(package-console
set(PACKAGING_TARGET_NAME package-console)
# add a target that when built will produce an executable of console for this platform
add_custom_target(${PACKAGING_TARGET_NAME}
COMMAND npm run-script package-darwin
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
)