mirror of
https://github.com/KhronosGroup/OpenCL-CTS.git
synced 2026-03-19 06:09:01 +00:00
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>
15 lines
337 B
CMake
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)
|
|
|