[CMake] Add suppport for new IDE

2015-10-31 Thread forumer
Hi, I would like to add some support for generating makefiles/IDE solutions for the D language (http://dlang.org). Especially I would like to be able to generate VisualD and monoD projects. The language is hold inside files with a .d extension and that can be compiled by 3 differents

[CMake] add_custom_command not triggered

2015-10-31 Thread Nico Schlömer
After downloading a file with ExternalData_Expand_Arguments [1], I would like to execute a command on the data to produce another file. So far, I have ``` ExternalData_Expand_Arguments( noshTestFetchData OUT_DATA DATA{${CMAKE_SOURCE_DIR}/test/data/${file}} )

Re: [CMake] add_custom_command not triggered

2015-10-31 Thread Nils Gladitz
On 31.10.2015 15:49, Nico Schlömer wrote: add_custom_command( OUTPUT ${CMAKE_BINARY_DIR}/test/data/pacman.e.2.0 COMMAND decomp -p 2 ${CMAKE_BINARY_DIR}/test/data/pacman.e DEPENDS noshTestFetchData ) I don't know anything about the ExternalData module but assuming this is unrelated ...

Re: [CMake] add_custom_command not triggered

2015-10-31 Thread David Cole via CMake
Oh wait, I read it wrong... Try ${} to get the value of the variable. (It contains a file name, right?) D On Saturday, October 31, 2015, David Cole wrote: > Because you're giving DEPENDS as a target name, this is only an ordering > dependency, stating that the command

Re: [CMake] [Plplot-devel] [ANNOUNCE] CMake 3.4.0-rc1 is now ready!

2015-10-31 Thread Alan W. Irwin
On 2015-10-30 19:59-0600 Orion Poplawski wrote: On 10/22/2015 11:30 AM, Brad King wrote: [...] Where Plplot currently writes: SET(CMAKE_Ada_COMPILE_OBJECT " -c -o ") try: if(NOT CMAKE_VERSION VERSION_LESS 3.4) set(CMAKE_Ada_COMPILE_OBJECT " -c -o ")

Re: [CMake] add_custom_command not triggered

2015-10-31 Thread David Cole via CMake
Because you're giving DEPENDS as a target name, this is only an ordering dependency, stating that the command should run after the target is built. But not necessarily re-build whenever the target is re-built... If you want to re-run the command based on a file changing instead, then use the full

Re: [CMake] add_dependencies being ignored for add_custom_command?

2015-10-31 Thread Iosif Neitzke
Yes, Header.hpp will be generated before the target is built. I do not believe the order of files listed in add_library() matters at all. On Mon, Oct 26, 2015 at 5:31 PM, Martin Braun wrote: > Gotcha, Iosif, > > thanks for clearing that up for me. To summarize, I should

[cmake-developers] [CMake 0015823]: FIND_LIBRARY & TARGET_LINK_LIBRARIES

2015-10-31 Thread Mantis Bug Tracker
The following issue has been SUBMITTED. == https://public.kitware.com/Bug/view.php?id=15823 == Reported By:Anthony Ette Assigned To: