diff options
author | Mark Lobodzinski <mark@lunarg.com> | 2018-02-01 09:27:03 -0700 |
---|---|---|
committer | Mark Lobodzinski <mark@lunarg.com> | 2018-02-05 13:15:30 -0700 |
commit | eb7024602f50c23fcd5ef9f921bf30a3645f417c (patch) | |
tree | 4c472e244e5d23a1243e084d12104e02162f5b1e /tests | |
parent | 4bba61bd78006a2845ac1f45c8d3602a67ec7cb0 (diff) | |
download | Vulkan-Loader-eb7024602f50c23fcd5ef9f921bf30a3645f417c.tar.gz Vulkan-Loader-eb7024602f50c23fcd5ef9f921bf30a3645f417c.tar.bz2 Vulkan-Loader-eb7024602f50c23fcd5ef9f921bf30a3645f417c.zip |
cmake: Move LVL temp/worker targets into subfolder
This sets up cmake to locate the temporary or worker MSVC projects
into a subfolder called lvl_cmake_targets. This simply unclutters
the Visual Studio Solution Explorer projects pane, and does not
affect functionality.
Change-Id: I6933d05758d6f174a4f66ceaef51d43627210e4f
Diffstat (limited to 'tests')
-rw-r--r-- | tests/CMakeLists.txt | 1 | ||||
-rw-r--r-- | tests/layers/CMakeLists.txt | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 4c081026..d3e66044 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -97,6 +97,7 @@ else() COMMAND ${CMAKE_COMMAND} -E copy_if_different ${VALIDATE_DOC} vkvalidatelayerdoc.ps1 VERBATIM ) + set_target_properties(binary-dir-symlinks PROPERTIES FOLDER ${LVL_TARGET_FOLDER}) endif() endif() diff --git a/tests/layers/CMakeLists.txt b/tests/layers/CMakeLists.txt index c51546c5..8525a8da 100644 --- a/tests/layers/CMakeLists.txt +++ b/tests/layers/CMakeLists.txt @@ -22,7 +22,8 @@ if (WIN32) COMMAND copy ${src_json} ${dst_json} VERBATIM ) - add_dependencies(${config_file}-json ${config_file}) + add_dependencies(${config_file}-json ${config_file}) + set_target_properties(${config_file}-json PROPERTIES FOLDER ${LVL_TARGET_FOLDER}) endforeach(config_file) endif() else() @@ -44,6 +45,7 @@ if (WIN32) COMMAND ${CMAKE_COMMAND} -E copy_if_different ${DEF_FILE} VkLayer_${target}.def VERBATIM ) + set_target_properties(copy-${target}-def-file PROPERTIES FOLDER ${LVL_TARGET_FOLDER}) add_library(VkLayer_${target} SHARED ${ARGN} VkLayer_${target}.def) add_dependencies(VkLayer_${target} generate_helper_files VkLayer_utils) endmacro() |