summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/VS10Project/VsCSharpWithoutSources.cmake
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2017-11-23 13:18:23 (GMT)
committerMichael Stürmer <michael.stuermer@schaeffler.com>2017-11-29 17:06:08 (GMT)
commit8e654a37857b7cefabf142b16fe8a6e03b75b5df (patch)
treeacc278d82526030b49d9a20fe44a4b52fdab0bc4 /Tests/RunCMake/VS10Project/VsCSharpWithoutSources.cmake
parente1243a50a759f797ee7f2d18ed08df1bc3dd0692 (diff)
downloadCMake-8e654a37857b7cefabf142b16fe8a6e03b75b5df.zip
CMake-8e654a37857b7cefabf142b16fe8a6e03b75b5df.tar.gz
CMake-8e654a37857b7cefabf142b16fe8a6e03b75b5df.tar.bz2
VS: Enable generation of CSharp projects without initial .cs files
fixes #17388
Diffstat (limited to 'Tests/RunCMake/VS10Project/VsCSharpWithoutSources.cmake')
-rw-r--r--Tests/RunCMake/VS10Project/VsCSharpWithoutSources.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/VS10Project/VsCSharpWithoutSources.cmake b/Tests/RunCMake/VS10Project/VsCSharpWithoutSources.cmake
new file mode 100644
index 0000000..5fdeaa0
--- /dev/null
+++ b/Tests/RunCMake/VS10Project/VsCSharpWithoutSources.cmake
@@ -0,0 +1,7 @@
+enable_language(CSharp)
+
+add_library(foo SHARED
+ "${CMAKE_CURRENT_LIST_FILE}")
+
+set_target_properties(foo PROPERTIES
+ LINKER_LANGUAGE CSharp)