[CMake] CMAKE_EXPORT_COMPILE_COMMANDS for linker commands?

2018-10-26 Thread Luis Díaz Más
Hi all, I was wondering if there is something similar to CMAKE_EXPORT_COMPILE_COMMANDS but also exporting the linker commands. At this moment it seems like it is only exporting the compiler commands for each translation unit. Best regards, Luis -- Powered by www.kitware.com Please keep

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

2016-10-10 Thread Luis Díaz Más
t\libs/ceres-debug.lib> ... kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib I will try to create a minimum example to reproduce this issue. Cheers, Luis 2016-10-05 16:39 GMT+02:00 Luis Díaz Más <pipon...@gmail.com&

[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*