Re: [CMake] FILE command in make_custom_target

2007-06-20 Thread Philippe Fremy
Brandon Van Every wrote: > On 6/19/07, Bill Hoffman <[EMAIL PROTECTED]> wrote: >> Philippe Fremy wrote: >> > >> > It is ironic that a running cmake instance, that supports platform >> > agnostic directory creation, is not able to do that inside a rule and >> > has to fallback an calling a second cm

Re: [CMake] FILE command in make_custom_target

2007-06-20 Thread Alexander Neundorf
On Tuesday 19 June 2007 17:52, Brandon Van Every wrote: > On 6/19/07, Philippe Fremy <[EMAIL PROTECTED]> wrote: > > It is ironic that a running cmake instance, that supports platform > > agnostic directory creation, is not able to do that inside a rule and > > has to fallback an calling a second cm

Re: [CMake] FILE command in make_custom_target

2007-06-19 Thread Brandon Van Every
On 6/19/07, Bill Hoffman <[EMAIL PROTECTED]> wrote: Philippe Fremy wrote: > > It is ironic that a running cmake instance, that supports platform > agnostic directory creation, is not able to do that inside a rule and > has to fallback an calling a second cmake instance for that. > > Actually, whe

Re: [CMake] FILE command in make_custom_target

2007-06-19 Thread Brandon Van Every
On 6/19/07, Philippe Fremy <[EMAIL PROTECTED]> wrote: It is ironic that a running cmake instance, that supports platform agnostic directory creation, is not able to do that inside a rule and has to fallback an calling a second cmake instance for that. I agree. However, I've come to accept th

Re: [CMake] FILE command in make_custom_target

2007-06-19 Thread Bill Hoffman
Philippe Fremy wrote: It is ironic that a running cmake instance, that supports platform agnostic directory creation, is not able to do that inside a rule and has to fallback an calling a second cmake instance for that. Actually, when a custom command is run, there is no running cmake insta

Re: [CMake] FILE command in make_custom_target

2007-06-19 Thread Philippe Fremy
Brandon Van Every wrote: > On 6/17/07, Philippe Fremy <[EMAIL PROTECTED]> wrote: >> >> Hi, >> >> I want a directory to be built when a custom target is executed. >> >> I tried something like this: >> >> add_custom_target( >> doc_libyzis >> COMMAND FIL

Re: [CMake] FILE command in make_custom_target

2007-06-18 Thread Brandon Van Every
On 6/17/07, Philippe Fremy <[EMAIL PROTECTED]> wrote: Hi, I want a directory to be built when a custom target is executed. I tried something like this: add_custom_target( doc_libyzis COMMAND FILE( MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../a

Re: [CMake] FILE command in make_custom_target

2007-06-18 Thread Pau Garcia i Quiles
Quoting Philippe Fremy <[EMAIL PROTECTED]>: Hi, I want a directory to be built when a custom target is executed. I tried something like this: add_custom_target( doc_libyzis COMMAND FILE( MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../apidoc )

[CMake] FILE command in make_custom_target

2007-06-18 Thread Philippe Fremy
Hi, I want a directory to be built when a custom target is executed. I tried something like this: add_custom_target( doc_libyzis COMMAND FILE( MAKE_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../apidoc ) COMMAND ${DOXYGEN} libyzis.doxy