mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 07:12:40 +02:00
Checkpoint towards integrated delivery
This commit is contained in:
parent
28435b6d43
commit
b7cdca75b7
5 changed files with 21 additions and 6 deletions
|
@ -11,3 +11,4 @@ link_hifi_libraries(
|
|||
|
||||
include_application_version()
|
||||
package_libraries_for_deployment()
|
||||
consolidate_stack_components()
|
9
cmake/macros/ConsolidateStackComponents.cmake
Normal file
9
cmake/macros/ConsolidateStackComponents.cmake
Normal file
|
@ -0,0 +1,9 @@
|
|||
macro(CONSOLIDATE_STACK_COMPONENTS)
|
||||
|
||||
# Copy all the output for this target into the common deployment location
|
||||
add_custom_command(
|
||||
TARGET ${TARGET_NAME} POST_BUILD
|
||||
COMMAND "${CMAKE_COMMAND}" -E copy_directory $<TARGET_FILE_DIR:${TARGET_NAME}> ${CMAKE_BINARY_DIR}/full-stack-deployment
|
||||
)
|
||||
|
||||
endmacro()
|
|
@ -1,5 +1,5 @@
|
|||
#
|
||||
# CopyDllsBesideWindowsExecutable.cmake
|
||||
# PackageLibrariesForDeployment.cmake
|
||||
# cmake/macros
|
||||
#
|
||||
# Copyright 2015 High Fidelity, Inc.
|
|
@ -38,3 +38,4 @@ endif (UNIX)
|
|||
|
||||
include_application_version()
|
||||
package_libraries_for_deployment()
|
||||
consolidate_stack_components()
|
|
@ -1,16 +1,19 @@
|
|||
set(TARGET_NAME "stack-manager")
|
||||
set(BUILD_BUNDLE YES)
|
||||
setup_hifi_project(Widgets Gui Svg Core Network WebKitWidgets)
|
||||
add_dependencies(${TARGET_NAME} assignment-client domain-server)
|
||||
|
||||
if (WIN32)
|
||||
target_zlib()
|
||||
endif ()
|
||||
target_quazip()
|
||||
|
||||
set_target_properties(
|
||||
${TARGET_NAME} PROPERTIES
|
||||
EXCLUDE_FROM_ALL TRUE
|
||||
)
|
||||
if (UNIX)
|
||||
set_target_properties(
|
||||
${TARGET_NAME} PROPERTIES
|
||||
EXCLUDE_FROM_ALL TRUE
|
||||
)
|
||||
endif (UNIX)
|
||||
|
||||
if (DEFINED ENV{JOB_ID})
|
||||
set(PR_BUILD "false")
|
||||
|
@ -45,4 +48,5 @@ if (APPLE)
|
|||
set(SM_SRCS ${SM_SRCS} "${CMAKE_CURRENT_SOURCE_DIR}/assets/icon.icns")
|
||||
endif ()
|
||||
|
||||
package_libraries_for_deployment()
|
||||
package_libraries_for_deployment()
|
||||
consolidate_stack_components()
|
Loading…
Reference in a new issue