Files
OpenCL-CTS/test_conformance/printf/CMakeLists.txt
Kevin Petit d8733efc0f Synchronise with Khronos-private Gitlab branch
The maintenance of the conformance tests is moving to Github.

This commit contains all the changes that have been done in
Gitlab since the first public release of the conformance tests.

Signed-off-by: Kevin Petit <kevin.petit@arm.com>
2019-03-05 16:23:49 +00:00

28 lines
744 B
CMake

add_compile_options(-std=c++11)
add_executable(conformance_test_printf
test_printf.c
util_printf.c
../../test_common/harness/mt19937.c
../../test_common/harness/kernelHelpers.c
../../test_common/harness/errorHelpers.c
../../test_common/harness/msvc9.c
)
set_source_files_properties(
test_printf.c
util_printf.c
../../test_common/harness/mt19937.c
../../test_common/harness/kernelHelpers.c
../../test_common/harness/errorHelpers.c
../../test_common/harness/msvc9.c
PROPERTIES LANGUAGE CXX)
target_link_libraries(conformance_test_printf
${CLConform_LIBRARIES})
add_dependencies(OpenCLCTS conformance_test_printf)
install(TARGETS conformance_test_printf
DESTINATION "${CLConf_OUT_DIR}"
COMPONENT OpenCLCTS)