[CMake] Error with ninja generator when using target_link_library with the debug keyword

2016-10-05 Thread Luis Díaz Más
Hi all, I have found a problem while configuring a project and I want to share the experience with you to figure out whether it is a known problem or a bug in CMake. In some cases I use the cmake command *target_link_libraries *specifying different libraries for the *debug* and *optimized* modes.

Re: [CMake] Error with ninja generator when using target_link_library with the debug keyword

2016-10-10 Thread Luis Díaz Más
Hi, I just want to confirm that I have the same problem on Windows with the Ninja generator. Even when I always use both keywords (debug & optimized) in my *target_link_libraries *commands I still got a *ninja.build *file that has bad $-escape characters. I think that this problem is happening on