SWDEV-273235 - Linux: catch2 shared lib to executable (#2421)

Change-Id: I17101e39fd05eb35c087ebdf3cb005d428d9f206

[ROCm/hip commit: 6c24531156]
Este commit está contenido en:
agunashe
2021-11-25 21:32:29 -08:00
cometido por GitHub
padre a4d0f06eb7
commit 6a5e1ea51e
Se han modificado 26 ficheros con 121 adiciones y 183 borrados
@@ -100,8 +100,7 @@ set(TEST_SRC
hipMemCoherencyTst.cc
)
endif()
# Create shared lib of all tests
add_library(MemoryTest SHARED EXCLUDE_FROM_ALL ${TEST_SRC})
# Add dependency on build_tests to build it on this custom target
add_dependencies(build_tests MemoryTest)
hip_add_exe_to_target(NAME MemoryTest
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME build_tests)