summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VS10Project/VsSettings.cmake
diff options
context:
space:
mode:
authorMatt Davies <matthew.davies@sony.com>2020-03-18 16:40:56 (GMT)
committerMatt Davies <matthew.davies@sony.com>2020-03-26 16:01:42 (GMT)
commit2ca1102f8347b0d25b476a9a785977f2dc8a812b (patch)
treeb8f852f719c995967e3a712970253600cf930271 /Tests/RunCMake/VS10Project/VsSettings.cmake
parentf00e1b816d7220b700f7f8d24347d80b66e30c86 (diff)
downloadCMake-2ca1102f8347b0d25b476a9a785977f2dc8a812b.zip
CMake-2ca1102f8347b0d25b476a9a785977f2dc8a812b.tar.gz
CMake-2ca1102f8347b0d25b476a9a785977f2dc8a812b.tar.bz2
VS: Test VS_SETTINGS and VS_SOURCE_SETTINGS_<tool> properties.
Diffstat (limited to 'Tests/RunCMake/VS10Project/VsSettings.cmake')
-rw-r--r--Tests/RunCMake/VS10Project/VsSettings.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/VS10Project/VsSettings.cmake b/Tests/RunCMake/VS10Project/VsSettings.cmake
new file mode 100644
index 0000000..a4b321b
--- /dev/null
+++ b/Tests/RunCMake/VS10Project/VsSettings.cmake
@@ -0,0 +1,5 @@
+enable_language(CXX)
+
+add_library(foo foo.cpp shader.hlsl)
+set_property(SOURCE shader.hlsl PROPERTY VS_SETTINGS
+ "$<$<CONFIG:DEBUG>:SourceProperty1=SourceProperty1Value>")