Re: [CMake] Question about dependencies

2011-02-09 Thread Michael Wild
Apart from the typos already pointed out by Martin, what is the define_custom_target() command? Did you mean add_custom_command() or add_custom_target()? If so, the syntax is completely wrong. If you meant add_dependencies(), then that is also wrong, because add_dependencies only operates on

Re: [CMake] Question about dependencies

2011-02-09 Thread Carminati Federico
Hello Micheal *, sorry for the messed up posting, please forget it. Thanks to a bad connection I ended up posting a draft, I should have been more careful I realise I need some more work to submit a meaningful question to the list. Best, Federico Carminati CERN-PH 1211 Geneva 23

Re: [CMake] Question about dependencies

2011-02-08 Thread Martin O'Brien
You have a number of typos there - are you sure that's not the problem? CMAKE_BINAARY_DIR Factfile v. Facfile FACTILE v. FACTFILE Mm On Feb 8, 2011 6:48 PM, Carminati Federico federico.carmin...@cern.ch wrote: Hello, May be this is a very simple question but... I have a fully qualified path

Re: [CMake] Question about dependencies

2011-02-08 Thread Carminati Federico
Martin, sorry for the stupid misspelling. The problem is real, only the message is misspelled. Best, Federico Carminati CERN-PH 1211 Geneva 23 Switzerland Tel: +41 22 76 74959 Fax: +41 22 76 68505 Mobile: +41 76 487 4843 On 9 Feb 2011, at 01:50, Martin O'Brien wrote: You have a number

Re: [CMake] Question about dependencies for install (FILES...)

2010-01-18 Thread Alexander Neundorf
On Saturday 16 January 2010, you wrote: ... Thanks ;) That will help in this case as flex is fast, but I have the same problem with other files which need some time for generation and should not be regenerated on any make call. Is there any other way, to create a target which requires the

[CMake] Question about dependencies for install (FILES...)

2010-01-16 Thread Christoph Cullmann
Hi, I try to install a flex generated file: (lex.loopmap_.cpp) CMakeLists.txt excerpt: set (cfg_cfiles_install files conmap.cpp loopmap.cpp regmap.cpp mapping.cpp lex.loopmap_.cpp paggdl.cpp scc.cpp sort.cpp

Re: [CMake] Question about dependencies for install (FILES...)

2010-01-16 Thread Alexander Neundorf
On Saturday 16 January 2010, Christoph Cullmann wrote: Hi, I try to install a flex generated file: (lex.loopmap_.cpp) CMakeLists.txt excerpt: set (cfg_cfiles_install files conmap.cpp loopmap.cpp regmap.cpp mapping.cpp lex.loopmap_.cpp

Re: [CMake] Question about dependencies and paths

2009-12-30 Thread Eric Noulard
2009/12/30 Talin viri...@gmail.com: I've got a problem that has been vexing me for several months: It seems that when I create a custom rule using add_custom_command, the DEPENDS clause sometimes works and sometimes doesn't, and I can't figure out why. Here's what my custom rule looks like:   

[CMake] Question about dependencies and paths

2009-12-29 Thread Talin
I've got a problem that has been vexing me for several months: It seems that when I create a custom rule using add_custom_command, the DEPENDS clause sometimes works and sometimes doesn't, and I can't figure out why. Here's what my custom rule looks like: # Link with stdlib string(REGEX