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

Change-Id: I17101e39fd05eb35c087ebdf3cb005d428d9f206

[ROCm/hip commit: 6c24531156]
This commit is contained in:
agunashe
2021-11-25 21:32:29 -08:00
committed by GitHub
parent a4d0f06eb7
commit 6a5e1ea51e
26 changed files with 121 additions and 183 deletions
@@ -3,8 +3,6 @@ set(TEST_SRC
add.cc
)
# Create shared lib of all tests
add_library(ABMAddKernels SHARED EXCLUDE_FROM_ALL ${TEST_SRC})
# Add dependency on build_tests to build it on this custom target
add_dependencies(build_tests ABMAddKernels)
hip_add_exe_to_target(NAME ABMAddKernels
TEST_SRC ${TEST_SRC}
TEST_TARGET_NAME build_tests)