Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for C# Projects #53

Open
whschultz opened this issue Oct 22, 2018 · 3 comments
Open

Add support for C# Projects #53

whschultz opened this issue Oct 22, 2018 · 3 comments

Comments

@whschultz
Copy link

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.

@pavelliavonau
Copy link
Owner

pavelliavonau commented Oct 23, 2018

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?

@whschultz
Copy link
Author

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.

@pavelliavonau
Copy link
Owner

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants