cmakeconverter
cmakeconverter copied to clipboard
Add support for C# Projects
Since version 3.8, CMake supports C# projects. It would be nice to be able to organize complex hierarchies of solutions and projects via CMake instead of separate Visual Studio solutions.
Cmake-converter works properly only with sln file. What are you proposing for example? C# is not so crossplatform. What kind of C# projects do you want to build with cmake?
C# can be quite cross-platform, especially with .NET Core. Cmake-converter doesn't work only with .sln files. It works with .vcxproj and .vfproj. I'm proposing adding support for .csproj. Therefore, there would be three different project types supported, all inside the umbrella solution file.
Arguably, C# is more cross-platform than C++, since it compiles down to CIL, a binary suitable to run on any platform supported by .NET, whereas C++ generally compiles for a specific processor (llvm being an exception that works like CIL). In this sense, it's like Java, compiling down to a bytecode, one layer above machine code.
@whschultz ,CMake creates target binary for current platform. I don't agree with you about cross-plarform of C# but.. Since this https://blogs.windows.com/buildingapps/2018/12/04/announcing-open-source-of-wpf-windows-forms-and-winui-at-microsoft-connect-2018/ I'll consider to implement support of *.csproj.