Re: [CMake] Re-executing CMake from the Makefile.

2008-08-26 Thread Óscar Fuentes
[Sorry for the late response. Supposedly, it is vacation here :-)] Brad King [EMAIL PROTECTED] writes: Óscar Fuentes wrote: thinking on a two-phase build, something like this: $ cmake -G Unix Makefiles # as llvm-config is not available, the executables are ignored. $ make # this builds

Re: [CMake] Re-executing CMake from the Makefile.

2008-08-15 Thread Brad King
Óscar Fuentes wrote: thinking on a two-phase build, something like this: $ cmake -G Unix Makefiles # as llvm-config is not available, the executables are ignored. $ make # this builds the libs and llvm-config and stops. $ make # This implicitly invokes cmake, which now can use

Re: [CMake] Re-executing CMake from the Makefile.

2008-08-14 Thread Bill Hoffman
Óscar Fuentes wrote: Currently, when `make' is executed and a CMakeList.txt file is out of date, `cmake' is automatically invoked and then `make' continues. Is it possible to do this (on a reliable way) with an arbitrary file? I need to re-execute `cmake' whenever certain file changes. I wonder

Re: [CMake] Re-executing CMake from the Makefile.

2008-08-14 Thread Óscar Fuentes
Bill Hoffman [EMAIL PROTECTED] writes: Óscar Fuentes wrote: Currently, when `make' is executed and a CMakeList.txt file is out of date, `cmake' is automatically invoked and then `make' continues. Is it possible to do this (on a reliable way) with an arbitrary file? I need to re-execute

Re: [CMake] Re-executing CMake from the Makefile.

2008-08-14 Thread Bill Hoffman
Óscar Fuentes wrote: Bill Hoffman [EMAIL PROTECTED] writes: Óscar Fuentes wrote: Currently, when `make' is executed and a CMakeList.txt file is out of date, `cmake' is automatically invoked and then `make' continues. Is it possible to do this (on a reliable way) with an arbitrary file? I

Re: [CMake] Re-executing CMake from the Makefile.

2008-08-14 Thread Óscar Fuentes
Bill Hoffman [EMAIL PROTECTED] writes: If this is not possible, I would like to stop `make' when /my/file/output changes, possibly showing some message to the user instructing him to invoke `make' again. You could just return an error code from the command that builds the /my/file/output,

Re: [CMake] Re-executing CMake from the Makefile.

2008-08-14 Thread Brad King
Óscar Fuentes wrote: The script examines library interdependencies dumping the symbol definitions and references they contain. For this, you need to build the libraries first. Later on the build, the executables just provide names of components, the script maps this names to actual libraries

Re: [CMake] Re-executing CMake from the Makefile.

2008-08-14 Thread Óscar Fuentes
Hello, Brad. Brad King [EMAIL PROTECTED] writes: Óscar Fuentes wrote: The script examines library interdependencies dumping the symbol definitions and references they contain. For this, you need to build the libraries first. Later on the build, the executables just provide names of

[CMake] Re-executing CMake from the Makefile.

2008-08-13 Thread Óscar Fuentes
Currently, when `make' is executed and a CMakeList.txt file is out of date, `cmake' is automatically invoked and then `make' continues. Is it possible to do this (on a reliable way) with an arbitrary file? I need to re-execute `cmake' whenever certain file changes. I wonder if is possible to do