On Tue, Mar 31, 2009 at 12:47:33PM -0400, Lezz Giles wrote:
> ADD_EXECUTABLE( hellow hellow.c )
>
> ADD_CUSTOM_COMMAND(OUTPUT ${CMAKE_BINARY_DIR}/docs COMMAND cat
> ${CMAKE_SOURCE_DIR}/hellowdoc.template > ${CMAKE_BINARY_DIR}/docs)
>
> ADD_CUSTOM_TARGET(documentation DEPENDS ${CMAKE_BINARY_DIR}/
t: Tuesday, March 31, 2009 12:19 PM
To: Lezz Giles
Cc: Cmake Mailing List
Subject: Re: [CMake] Make target dependent on all executables & libraries
How about making it depend on the ALL target?
On Tue, Mar 31, 2009 at 6:07 PM, Lezz Giles
mailto:lgi...@soapstonenetworks.com>> wrote:
On Tue, Mar 31, 2009 at 06:18:49PM +0200, Adolfo RodrÃguez wrote:
> How about making it depend on the ALL target?
I believe this will cause the doxygen target to be run every time, which
is not what the OP wants.
My first guess would be the ALL_TARGETS approach. Just make it part of
your coding s
How about making it depend on the ALL target?
On Tue, Mar 31, 2009 at 6:07 PM, Lezz Giles wrote:
> I want to use doxygen to generate documentation, but I also want it to only
> run if something has changed. At first I was playing with the idea of
> having it be dependent on all source & header f
I want to use doxygen to generate documentation, but I also want it to only run
if something has changed. At first I was playing with the idea of having it be
dependent on all source & header files, but I quickly realized that that would
be difficult or impossible in cmake. Then I realized tha