The open source OpenXR runtime
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

a/util: Add comments about DSOs

authored by

Jakob Bornecrantz and committed by
Ryan Pavlik
d4a77da8 e629bbbe

+8
+8
src/xrt/auxiliary/util/CMakeLists.txt
··· 4 4 #### 5 5 # Main util library 6 6 # 7 + # Avoid linking with libraries that brings in DSOs as this 8 + # library is used everywhere. Including libraries loaded in 9 + # by applications like the OpenXR runtime library. 10 + # 7 11 8 12 configure_file( 9 13 "${CMAKE_CURRENT_SOURCE_DIR}/u_git_tag.c.in" "${CMAKE_CURRENT_BINARY_DIR}/u_git_tag.c" ··· 96 100 ) 97 101 target_link_libraries(aux_util PUBLIC aux-includes aux_generated_bindings aux_os aux_math) 98 102 103 + # Is basically used everywhere, unavoidable. 99 104 if(XRT_HAVE_SYSTEM_CJSON) 100 105 target_link_libraries(aux_util PUBLIC cJSON::cJSON) 101 106 target_compile_definitions(aux_util PRIVATE XRT_HAVE_SYSTEM_CJSON) ··· 103 108 target_link_libraries(aux_util PUBLIC xrt-external-cjson) 104 109 endif() 105 110 111 + # Is basically used everywhere, only used in debugging. 106 112 if(XRT_FEATURE_TRACING AND XRT_HAVE_PERCETTO) 107 113 target_link_libraries(aux_util PUBLIC percetto::percetto) 108 114 endif() 109 115 116 + # Is basically used everywhere, so link with here. 110 117 if(ANDROID) 111 118 target_link_libraries(aux_util PUBLIC ${ANDROID_LOG_LIBRARY}) 112 119 endif() 113 120 121 + # Internal dependency and doesn't bring in any DSO. 114 122 target_include_directories(aux_util PRIVATE ${EIGEN3_INCLUDE_DIR}) 115 123 116 124 ####