ubisoft / Sharpmake

Sharpmake is an open-source C#-based solution for generating project definition files, such as Visual Studio projects and solutions, GNU makefiles, Xcode projects, etc.
Apache License 2.0
945 stars 171 forks source link

added support for ninja generator #229

Open RisingLiberty opened 2 years ago

RisingLiberty commented 2 years ago

I added a generator to create Ninja files, and Ninja projects and solution, making it easy to build everything

RisingLiberty commented 1 year ago

I'm still developing this as I'd like to clean up the code while also fully support MSVC, Clang and GCC. The compiler's standard library is not found when using the Ninja files (CMAKE has the same problem)

RisingLiberty commented 1 year ago

support for gcc is added, support for static libraries and dynamic libraries (except dynamic libs for gcc) and dependency support as well. I will use it now in practice, but my initial tests were successful

RisingLiberty commented 1 year ago

Verified on a bigger project of mine that combines static library, executable and unit tests. All were successful

jspelletier commented 1 year ago

Hi,

Sorry for the lack of comments for your PR. We are in major repo ownership changes. We will take a look at your changes eventually.

Thanks for your understanding.