Add OpenCLCTS target and install component to CMake

This commit is contained in:
Alastair Murray
2018-03-02 18:32:39 +00:00
committed by Kévin Petit
parent b4e39211d7
commit b67a5f3761
38 changed files with 222 additions and 130 deletions

View File

@@ -68,9 +68,15 @@ TARGET_LINK_LIBRARIES(conformance_test_cl_gl_h_c99
TARGET_LINK_LIBRARIES(conformance_test_opencl_h_c99
${CLConform_LIBRARIES})
add_dependencies(OpenCLCTS conformance_test_headers conformance_test_cl_h
conformance_test_cl_platform_h conformance_test_cl_gl_h
conformance_test_opencl_h conformance_test_cl_h_c99
conformance_test_cl_platform_h_c99 conformance_test_cl_gl_h_c99
conformance_test_opencl_h_c99)
install(TARGETS conformance_test_headers conformance_test_cl_h
conformance_test_cl_platform_h conformance_test_cl_gl_h
conformance_test_opencl_h conformance_test_cl_h_c99
conformance_test_cl_platform_h_c99 conformance_test_cl_gl_h_c99
conformance_test_opencl_h_c99
DESTINATION "${CLConf_OUT_DIR}")
DESTINATION "${CLConf_OUT_DIR}"
COMPONENT OpenCLCTS)