VS: added support for C# (for Visual Studio 2010, 2012, 2013, 2015)

This commit is contained in:
Michael Stürmer
2017-01-09 16:34:13 +01:00
parent 6fda6005b3
commit a7dd8e6692
8 changed files with 412 additions and 74 deletions
-4
View File
@@ -34,10 +34,6 @@ if(NOT CMAKE_CSharp_COMPILER_WORKS)
# Move result from cache to normal variable.
set(CMAKE_CSharp_COMPILER_WORKS ${CMAKE_CSharp_COMPILER_WORKS})
unset(CMAKE_CSharp_COMPILER_WORKS CACHE)
if(NOT CMAKE_CSharp_COMPILER_WORKS)
message("forcing compiler works to true (will be removed once C# support is integrated)")
set(CMAKE_CSharp_COMPILER_WORKS 1)
endif()
set(CSharp_TEST_WAS_RUN 1)
endif()