Files
rocm-systems/projects/hip/tests/catch/unit/rtc/CMakeLists.txt
T
Jatin Chaudhary 62548cce56 SWDEV-277697 - [CatchTest] Fix Documentation, Add test to AMD specific, Add HIP Macros, New Binary for multiproc tests
Change-Id: I3783caf85c694b724ed55b778220b8ef9a39f84b


[ROCm/hip commit: c088ddbe7c]
2021-05-25 07:12:54 -04:00

13 regels
291 B
CMake

# AMD Tests
set(AMD_TEST_SRC
saxpy.cc
)
if(HIP_PLATFORM MATCHES "amd")
# Create shared lib of all tests
add_library(RTC SHARED EXCLUDE_FROM_ALL ${AMD_TEST_SRC})
# Add dependency on build_tests to build it on this custom target
add_dependencies(build_tests RTC)
endif()