Files
OpenCL-CTS/test_conformance/compatibility/test_common/CMakeLists.txt
Kévin Petit fa4b278432 Build the harness as a static library (#430)
This reduces by a factor of roughly two the number of files to build.

Fixes #193.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2019-08-07 17:18:10 +01:00

15 lines
337 B
CMake

set(HARNESS_COMPAT_SOURCES
harness/errorHelpers.c
harness/imageHelpers.cpp
harness/kernelHelpers.c
harness/testHarness.c
)
set_source_files_properties(${HARNESS_COMPAT_SOURCES} PROPERTIES LANGUAGE CXX)
add_library(harness-compat STATIC ${HARNESS_COMPAT_SOURCES})
target_link_libraries(harness-compat harness-common)