summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeCSharpCompiler.cmake.in
diff options
context:
space:
mode:
authorMichael Stürmer <michael.stuermer@schaeffler.com>2016-12-12 13:52:29 (GMT)
committerBrad King <brad.king@kitware.com>2016-12-15 14:16:30 (GMT)
commit5c6c0344d32f9282059d46b6fe6f9925ac1f1202 (patch)
treefc9ce79ea985322807b73cbcd30bcc5cff5ce24d /Modules/CMakeCSharpCompiler.cmake.in
parent3874843f0f5be9d53001517b3697e0d092f0e845 (diff)
downloadCMake-5c6c0344d32f9282059d46b6fe6f9925ac1f1202.zip
CMake-5c6c0344d32f9282059d46b6fe6f9925ac1f1202.tar.gz
CMake-5c6c0344d32f9282059d46b6fe6f9925ac1f1202.tar.bz2
C# support: add compiler detection for MSVC
Diffstat (limited to 'Modules/CMakeCSharpCompiler.cmake.in')
-rw-r--r--Modules/CMakeCSharpCompiler.cmake.in9
1 files changed, 9 insertions, 0 deletions
diff --git a/Modules/CMakeCSharpCompiler.cmake.in b/Modules/CMakeCSharpCompiler.cmake.in
new file mode 100644
index 0000000..5ecc480
--- /dev/null
+++ b/Modules/CMakeCSharpCompiler.cmake.in
@@ -0,0 +1,9 @@
+set(CMAKE_CSharp_COMPILER "@CMAKE_CSharp_COMPILER@")
+set(CMAKE_CSharp_COMPILER_ID "@CMAKE_CSharp_COMPILER_ID@")
+set(CMAKE_CSharp_COMPILER_VERSION "@CMAKE_CSharp_COMPILER_VERSION@")
+
+set(CMAKE_CSharp_COMPILER_WORKS "@CMAKE_CSharp_COMPILER_WORKS@")
+
+set(CMAKE_CSharp_COMPILER_ID_RUN "@CMAKE_CSharp_COMPILER_ID_RUN@")
+set(CMAKE_CSharp_IGNORE_EXTENSIONS "inl;h;hpp;HPP;H;o;O;obj;OBJ;def;DEF;rc;RC")
+set(CMAKE_CSharp_SOURCE_FILE_EXTENSIONS "cs")