diff --git a/test_conformance/CMakeCommon.txt b/test_conformance/CMakeCommon.txt index 0beaedc2..270a923d 100644 --- a/test_conformance/CMakeCommon.txt +++ b/test_conformance/CMakeCommon.txt @@ -7,3 +7,8 @@ add_executable(${${MODULE_NAME}_OUT} ${${MODULE_NAME}_SOURCES}) set_property(TARGET ${${MODULE_NAME}_OUT} PROPERTY FOLDER "CONFORMANCE${CONFORMANCE_SUFFIX}") TARGET_LINK_LIBRARIES(${${MODULE_NAME}_OUT} ${HARNESS_LIB} ${CLConform_LIBRARIES}) + +include(GNUInstallDirs) + +install(TARGETS ${${MODULE_NAME}_OUT} + RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}/$) diff --git a/test_conformance/compiler/CMakeLists.txt b/test_conformance/compiler/CMakeLists.txt index e703471d..b64d3b31 100644 --- a/test_conformance/compiler/CMakeLists.txt +++ b/test_conformance/compiler/CMakeLists.txt @@ -31,3 +31,10 @@ add_custom_command( COMMAND ${CMAKE_COMMAND} -E copy_directory ${CLConform_SOURCE_DIR}/test_conformance/compiler/secondIncludeTestDirectory ${COMPILER_TEST_RESOURCES}/secondIncludeTestDirectory) + +include(GNUInstallDirs) + +install(DIRECTORY + ${CLConform_SOURCE_DIR}/test_conformance/compiler/includeTestDirectory + ${CLConform_SOURCE_DIR}/test_conformance/compiler/secondIncludeTestDirectory + DESTINATION ${CMAKE_INSTALL_BINDIR}/$) diff --git a/test_conformance/spirv_new/spirv_asm/CMakeLists.txt b/test_conformance/spirv_new/spirv_asm/CMakeLists.txt index 71ae4a9c..0e12a285 100644 --- a/test_conformance/spirv_new/spirv_asm/CMakeLists.txt +++ b/test_conformance/spirv_new/spirv_asm/CMakeLists.txt @@ -500,3 +500,10 @@ add_custom_command( VERBATIM) add_custom_target(spirv_new_binaries DEPENDS ${assembled_spirv_binaries}) + +include(GNUInstallDirs) + +install(DIRECTORY + ${CMAKE_CURRENT_BINARY_DIR}/../spirv_bin + DESTINATION + ${CMAKE_INSTALL_BINDIR}/$) diff --git a/test_conformance/vulkan/shaders/CMakeLists.txt b/test_conformance/vulkan/shaders/CMakeLists.txt index f09dc51c..3614e1e2 100644 --- a/test_conformance/vulkan/shaders/CMakeLists.txt +++ b/test_conformance/vulkan/shaders/CMakeLists.txt @@ -44,4 +44,11 @@ else() endforeach() add_custom_target(vulkan_shaders DEPENDS ${vulkan_spirv_files}) + + include(GNUInstallDirs) + + install(DIRECTORY + ${CMAKE_CURRENT_BINARY_DIR} + DESTINATION + ${CMAKE_INSTALL_BINDIR}/$) endif()