mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-04-07 10:02:24 +02:00
Remove explicit gpu-gl dependencies
This commit is contained in:
parent
24b83aa0f1
commit
c924cbf2a7
9 changed files with 37 additions and 11 deletions
|
@ -1,6 +1,6 @@
|
|||
set(TARGET_NAME native-lib)
|
||||
setup_hifi_library()
|
||||
link_hifi_libraries(shared networking gl gpu gpu-gles image fbx render-utils physics entities octree)
|
||||
link_hifi_libraries(shared networking gl gpu image fbx render-utils physics entities octree ${PLATFORM_GL_BACKEND})
|
||||
target_opengl()
|
||||
target_bullet()
|
||||
|
||||
|
|
|
@ -19,9 +19,10 @@ if (WIN32 AND (NOT USE_GLES))
|
|||
set(TARGET_NAME oculus)
|
||||
setup_hifi_plugin(Multimedia)
|
||||
link_hifi_libraries(
|
||||
shared gl gpu gpu-gl controllers ui
|
||||
shared gl gpu controllers ui
|
||||
plugins ui-plugins display-plugins input-plugins
|
||||
audio-client networking render-utils
|
||||
${PLATFORM_GL_BACKEND}
|
||||
)
|
||||
include_hifi_library_headers(octree)
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ if (APPLE)
|
|||
|
||||
set(TARGET_NAME oculusLegacy)
|
||||
setup_hifi_plugin()
|
||||
link_hifi_libraries(shared gl gpu gpu-gl plugins ui ui-plugins display-plugins input-plugins midi)
|
||||
link_hifi_libraries(shared gl gpu plugins ui ui-plugins display-plugins input-plugins midi ${PLATFORM_GL_BACKEND})
|
||||
|
||||
include_hifi_library_headers(octree)
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ if (WIN32 AND (NOT USE_GLES))
|
|||
setup_hifi_plugin(OpenGL Script Qml Widgets Multimedia)
|
||||
link_hifi_libraries(shared gl networking controllers ui
|
||||
plugins display-plugins ui-plugins input-plugins script-engine
|
||||
audio-client render-utils model gpu gpu-gl render model-networking fbx ktx image procedural)
|
||||
audio-client render-utils model gpu render model-networking fbx ktx image procedural ${PLATFORM_GL_BACKEND})
|
||||
|
||||
include_hifi_library_headers(octree)
|
||||
|
||||
|
|
|
@ -4,7 +4,13 @@ AUTOSCRIBE_SHADER_LIB(gpu model render-utils)
|
|||
setup_hifi_project(Quick Gui OpenGL Script Widgets)
|
||||
setup_memory_debugger()
|
||||
set_target_properties(${TARGET_NAME} PROPERTIES FOLDER "Tests/manual-tests/")
|
||||
link_hifi_libraries(networking gl gpu gpu-gl procedural shared fbx model model-networking animation script-engine render render-utils octree image ktx)
|
||||
link_hifi_libraries(
|
||||
shared networking gl
|
||||
ktx gpu procedural octree image
|
||||
model model-networking fbx animation
|
||||
script-engine render render-utils
|
||||
${PLATFORM_GL_BACKEND}
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
add_dependency_external_projects(wasapi)
|
||||
|
|
|
@ -12,7 +12,15 @@ setup_hifi_project(Quick Gui OpenGL)
|
|||
set_target_properties(${TARGET_NAME} PROPERTIES FOLDER "Tests/manual-tests/")
|
||||
|
||||
# link in the shared libraries
|
||||
link_hifi_libraries(shared networking model fbx ktx image octree gl gpu gpu-gl render model-networking networking render-utils entities entities-renderer animation audio avatars script-engine physics procedural midi ui)
|
||||
link_hifi_libraries(
|
||||
shared networking animation
|
||||
ktx image octree gl gpu
|
||||
render render-utils
|
||||
model fbx model-networking
|
||||
entities entities-renderer audio avatars script-engine
|
||||
physics procedural midi ui
|
||||
${PLATFORM_GL_BACKEND}
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
target_link_libraries(${TARGET_NAME} Winmm.lib)
|
||||
|
|
|
@ -12,7 +12,15 @@ setup_hifi_project(Quick Gui OpenGL)
|
|||
set_target_properties(${TARGET_NAME} PROPERTIES FOLDER "Tests/manual-tests/")
|
||||
|
||||
# link in the shared libraries
|
||||
link_hifi_libraries(shared octree gl gpu gpu-gl render model model-networking networking render-utils fbx entities entities-renderer animation audio avatars script-engine physics ktx image)
|
||||
link_hifi_libraries(
|
||||
shared networking octree
|
||||
gl gpu render ktx image animation
|
||||
model fbx model-networking
|
||||
render-utils
|
||||
entities entities-renderer audio avatars
|
||||
script-engine physics
|
||||
${PLATFORM_GL_BACKEND}
|
||||
)
|
||||
|
||||
package_libraries_for_deployment()
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ set_target_properties(${TARGET_NAME} PROPERTIES FOLDER "Tests/manual-tests/")
|
|||
setup_memory_debugger()
|
||||
|
||||
# link in the shared libraries
|
||||
link_hifi_libraries(render-utils gl gpu gpu-gl shared)
|
||||
link_hifi_libraries(render-utils gl gpu shared ${PLATFORM_GL_BACKEND})
|
||||
target_link_libraries(${TARGET_NAME} ${CMAKE_THREAD_LIBS_INIT})
|
||||
|
||||
if (WIN32)
|
||||
|
|
|
@ -8,9 +8,12 @@ set_target_properties(${TARGET_NAME} PROPERTIES FOLDER "Tests/manual-tests/")
|
|||
setup_memory_debugger()
|
||||
|
||||
# link in the shared libraries
|
||||
link_hifi_libraries(shared octree gl gpu gpu-gl model render fbx networking entities
|
||||
script-engine physics
|
||||
render-utils entities-renderer)
|
||||
link_hifi_libraries(
|
||||
shared octree gl gpu model render fbx networking entities
|
||||
script-engine physics
|
||||
render-utils entities-renderer
|
||||
${PLATFORM_GL_BACKEND}
|
||||
)
|
||||
|
||||
include_directories("${PROJECT_BINARY_DIR}/../../libraries/gpu/")
|
||||
include_directories("${PROJECT_BINARY_DIR}/../../libraries/render-utils/")
|
||||
|
|
Loading…
Reference in a new issue