Files
OpenCL-CTS/test_conformance/profiling/CMakeLists.txt
2018-11-12 12:11:00 +00:00

36 lines
1.2 KiB
CMake

add_executable(conformance_test_profiling
main.c readArray.c writeArray.c readImage.c writeImage.c copy.c
execute.c execute_multipass.c
../../test_common/harness/testHarness.c
../../test_common/harness/errorHelpers.c
../../test_common/harness/typeWrappers.cpp
../../test_common/harness/imageHelpers.cpp
../../test_common/harness/kernelHelpers.c
../../test_common/harness/mt19937.c
../../test_common/harness/conversions.c
../../test_common/harness/msvc9.c
)
if(CMAKE_SYSTEM_PROCESSOR MATCHES "(x86)|(X86)|(amd64)|(AMD64)" AND NOT MSVC)
set_source_files_properties(
COMPILE_FLAGS -msse2)
endif()
set_source_files_properties(
main.c readArray.c writeArray.c readImage.c writeImage.c copy.c
execute.c execute_multipass.c
../../test_common/harness/testHarness.c
../../test_common/harness/errorHelpers.c
../../test_common/harness/kernelHelpers.c
../../test_common/harness/conversions.c
../../test_common/harness/msvc9.c
PROPERTIES LANGUAGE CXX)
TARGET_LINK_LIBRARIES(conformance_test_profiling
${CLConform_LIBRARIES})
add_dependencies(OpenCLCTS conformance_test_profiling)
install(TARGETS conformance_test_profiling
DESTINATION "${CLConf_OUT_DIR}"
COMPONENT OpenCLCTS)