mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-05 14:30:39 +02:00
44 lines
1.2 KiB
CMake
44 lines
1.2 KiB
CMake
set(TARGET_NAME assignment-client)
|
|
|
|
setup_hifi_project(Core Gui Network Script Quick WebSockets)
|
|
|
|
# Fix up the rpath so macdeployqt works
|
|
if (APPLE)
|
|
set_target_properties(${TARGET_NAME} PROPERTIES INSTALL_RPATH "@executable_path/../Frameworks")
|
|
endif ()
|
|
|
|
setup_memory_debugger()
|
|
setup_thread_debugger()
|
|
|
|
# link in the shared libraries
|
|
link_hifi_libraries(
|
|
audio avatars octree gpu graphics shaders model-serializers hfm entities
|
|
networking animation recording shared script-engine embedded-webserver
|
|
controllers physics plugins midi image
|
|
material-networking model-networking ktx shaders
|
|
)
|
|
include_hifi_library_headers(procedural)
|
|
|
|
if (BUILD_TOOLS)
|
|
add_dependencies(${TARGET_NAME} oven)
|
|
|
|
if (WIN32)
|
|
add_custom_command(
|
|
TARGET ${TARGET_NAME} POST_BUILD
|
|
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
|
$<TARGET_FILE_DIR:oven>
|
|
$<TARGET_FILE_DIR:${TARGET_NAME}>)
|
|
else()
|
|
add_custom_command(
|
|
TARGET ${TARGET_NAME} POST_BUILD
|
|
COMMAND ${CMAKE_COMMAND} -E create_symlink
|
|
$<TARGET_FILE:oven>
|
|
$<TARGET_FILE_DIR:${TARGET_NAME}>/oven)
|
|
endif()
|
|
endif (BUILD_TOOLS)
|
|
|
|
if (WIN32)
|
|
package_libraries_for_deployment()
|
|
endif()
|
|
|
|
install_beside_console()
|