[CMake] add_custom_command dependencies from file?

2016-09-06 Thread Evgeniy Dushistov
Hi, I need to solve problem described here: https://cmake.org/pipermail/cmake/2005-August/007091.html Basically I have test.i (swig input): %module native %include "lib.hpp" %{ #include "lib.hpp" %} swig with -M option can tell that generated by it code depend on "lib.hpp", but how I can reus

[CMake] add_custom_command dependencies

2013-04-09 Thread Johann MacDonagh
I'm having a problem with something pretty basic, so I'm wondering what I'm doing wrong. In my build process, I want to use PyInstaller to generate an EXE. Due to the way the source code is laid out, the scripts for this PyInstaller setup are split among several directories. In addition, I need so

Re: [CMake] add_custom_command dependencies in an auxiliary variable

2008-01-17 Thread Brandon Van Every
On Jan 17, 2008 9:15 PM, Rodolfo Lima <[EMAIL PROTECTED]> wrote: > Hi, I wonder if it's possible to add_custom_command create a temporary > variable which contents are all dependencies of the custom command. This > could be used if one command shall contain all dependencies in its > command line. g

[CMake] add_custom_command dependencies in an auxiliary variable

2008-01-17 Thread Rodolfo Lima
Hi, I wonder if it's possible to add_custom_command create a temporary variable which contents are all dependencies of the custom command. This could be used if one command shall contain all dependencies in its command line. gnu make does that with $^ (i think). Something similar with the output fi