mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 18:16:08 +02:00
42 lines
1 KiB
CMake
42 lines
1 KiB
CMake
|
|
set(TARGET_NAME render-texture-load)
|
|
|
|
if (WIN32)
|
|
SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /ignore:4049 /ignore:4217")
|
|
endif()
|
|
|
|
setup_memory_debugger()
|
|
|
|
# This is not a testcase -- just set it up as a regular hifi project
|
|
setup_hifi_project(Quick Gui)
|
|
set_target_properties(${TARGET_NAME} PROPERTIES FOLDER "Tests/manual-tests/")
|
|
|
|
# link in the shared libraries
|
|
link_hifi_libraries(
|
|
shared task networking octree
|
|
gl gpu render ktx image animation
|
|
graphics fbx model-networking
|
|
render-utils
|
|
entities entities-renderer audio avatars
|
|
script-engine physics
|
|
${PLATFORM_GL_BACKEND}
|
|
)
|
|
|
|
package_libraries_for_deployment()
|
|
|
|
target_gli()
|
|
target_glm()
|
|
|
|
target_zlib()
|
|
add_dependency_external_projects(quazip)
|
|
find_package(QuaZip REQUIRED)
|
|
target_include_directories(${TARGET_NAME} SYSTEM PUBLIC ${QUAZIP_INCLUDE_DIRS})
|
|
target_link_libraries(${TARGET_NAME} ${QUAZIP_LIBRARIES})
|
|
|
|
if (WIN32)
|
|
add_paths_to_fixup_libs(${QUAZIP_DLL_PATH})
|
|
add_dependency_external_projects(wasapi)
|
|
endif ()
|
|
|
|
|
|
target_bullet()
|