[cmake-developers] Ninja generator on Windows
Peter Kümmel
syntheticpp at gmx.net
Mon Jan 30 18:15:59 EST 2012
I played a bit with the Ninja generator on Windows,
and added some hacks to make it a bit running:
https://github.com/syntheticpp/CMake/commit/0a55b61271106eb7c3319340f2c54f6bab3c0f8b
Here are the problems I found so far:
- Paths like 'c:\' - Ninja now supports colon escaping "c:" -> "c$:"
Is there a single place where the escaping could be done?
- Backslashes: could they also be replaced at a single place?
- Finding the msvc compiler fails because TARGET_IMPLIB is empty
and to the linker /implib: is passed without an argument.
Why is TARGET_IMPLIB empty?
- Some targets have the .exe extension, but the rule misses the .exe.
- When && is used for calling multiple command a 'cmd.exe /c' call is necessary.
- How it is possible to choose a compiler (msvc, mingw)?
Peter
More information about the cmake-developers
mailing list