jimon / premake-ninja

Premake extension to support Ninja
MIT License
58 stars 17 forks source link

Support cppdialect/cdialect and some other opts #24

Open p0358 opened 1 year ago

p0358 commented 1 year ago

Basically equivalent of this code when using Makefile: https://github.com/premake/premake-core/blob/3df1efce5e7c4399eb50f042c2a386ccde64ab62/modules/vstudio/vs2010_vcxproj.lua#L1628-L1658

Finding the piece of code linked above gives me some peace of mind that there aren't many other compile options that are missed anymore (those here are missing, because they'd normally go as solution param with MSBuild...)

Also btw I'll be adding tests to my changes after I'm done wit all my PRs, which is after my msbuild project compiles with this thing as well...