mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-23 23:49:02 +00:00
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>
This commit is contained in:
14
test_conformance/compatibility/test_common/CMakeLists.txt
Normal file
14
test_conformance/compatibility/test_common/CMakeLists.txt
Normal file
@@ -0,0 +1,14 @@
|
||||
|
||||
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)
|
||||
|
||||
Reference in New Issue
Block a user