[CMake] target_link_libraries can't set linker options with Visual Studio generator

2015-06-29 Thread Patrick Griffiths
I'm using CMake 3.2.3. I really need to be able to add options to LINK_FLAGS using generator expressions. When I use LINK_FLAGS with set_target_properties or set_property, generator expressions are not expanded. I noticed that the documentation for target_link_libraries says: "Item names startin

[CMake] Putting ctest in a 'watch' mode?

2015-06-29 Thread Jakob van Bethlehem
Dear users, While developing a bunch of tests, I started wondering whether it is possible to put ctest in a kind of ‘watch’ mode, where it is continuously watching a set of test executable, and automatically running any (or all) of them when the compiler creates a new version of the test execut

Re: [CMake] Long command lines

2015-06-29 Thread Paul Smith
On Mon, 2015-06-29 at 13:08 +0200, SF Markus Elfring wrote: > > unfortunately i dont quite understand what you mean with "your > tool". > > How many efforts would you like to invest so that limitations > around software like a fortran preprocessor can be circumvented? > > http://www.cmake.org/Wik

Re: [CMake] Long command lines

2015-06-29 Thread SF Markus Elfring
>> http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_avoid_the_error_.22Arg_list_too_long.22_when_running_make.3F > so both the means suggested on that page dont apply to us. > the problem is very specifically for some compiler versions, > and i was looking for a native cmake solution that /does not/ d

[CMake] cmake-qt: controlling includes order

2015-06-29 Thread Bill Somerville
Hi All, I have an issue with cmake-qt where i need to ensure an include path set by the include_directories() command is after include paths that are added by the target_link_libraries() command or by the qt5_use_modules() command. In both cases the AFTER option on the include_directories() c

Re: [CMake] Long command lines

2015-06-29 Thread SF Markus Elfring
> unfortunately i dont quite understand what you mean with "your tool". How many efforts would you like to invest so that limitations around software like a fortran preprocessor can be circumvented? http://www.cmake.org/Wiki/CMake_FAQ#How_can_I_avoid_the_error_.22Arg_list_too_long.22_when_running