mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:24:00 +02:00
add PACKAGING_TARGET_NAME variable
This commit is contained in:
parent
fa4153d2e0
commit
370fc35eaf
1 changed files with 4 additions and 2 deletions
|
@ -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}
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue