2008/12/16 Tyler Roscoe :
> I am using what I think is a common pattern to create some headers.
> Following the example at
> http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_generate_an_executable.2C_then_use_the_executable_to_generate_a_file.3F,
> I have an add_custom_command which calls a script (gen
On Wed, Dec 17, 2008 at 08:45:01AM +0100, Martin Apel wrote:
> I had a similar problem some time ago. I worked around it by first
> generating the header files into ${CMAKE_CURRENT_BINARY_DIR} and then
> execute 'cmake -E
> copy_if_different' to their target location. This way dependent files
> wil
Tyler Roscoe wrote:
> On Tue, Dec 16, 2008 at 09:44:38PM +0100, Eric NOULARD wrote:
>
>>> Ok, so is it simply impossible to do delta builds if my build process
>>> needs add_custom_command/add_custom_target invocations? Is there some
>>> better way to have CMake create the headers for me? Does t
On Tue, Dec 16, 2008 at 09:44:38PM +0100, Eric NOULARD wrote:
> > Ok, so is it simply impossible to do delta builds if my build process
> > needs add_custom_command/add_custom_target invocations? Is there some
> > better way to have CMake create the headers for me? Does this behavior
> > of add_cus
On Tue, Dec 16, 2008 at 10:09:41PM +0100, Alexander Neundorf wrote:
> Did you try to use full pathes, i.e. use CMAKE_CURRENT_SOURCE_DIR and
> CMAKE_CURRENT_BINARY_DIR respectively ?
Yes, all paths in my cmake files are based on
${CMAKE_CURRENT_SOURCE_DIR}.
tyler
_
On Tuesday 16 December 2008, Tyler Roscoe wrote:
> I am using what I think is a common pattern to create some headers.
> Following the example at
> http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_generate_an_executable.2C_then
>_use_the_executable_to_generate_a_file.3F, I have an add_custom_command
>
Le Tue, 16 Dec 2008 12:26:26 -0800,
Tyler Roscoe a écrit :
> I am using what I think is a common pattern to create some headers.
> Following the example at
> http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_generate_an_executable.2C_then_use_the_executable_to_generate_a_file.3F,
> I have an add_custo
I am using what I think is a common pattern to create some headers.
Following the example at
http://www.cmake.org/Wiki/CMake_FAQ#How_do_I_generate_an_executable.2C_then_use_the_executable_to_generate_a_file.3F,
I have an add_custom_command which calls a script (generateheader.py):
add_custom_comma