[CMake] dependency problem + POST_BUILD events

Brandon Van Every bvanevery at gmail.com
Mon Jul 30 10:30:26 EDT 2007


On 7/30/07, Sergei Riaguzov <riaguzov at gmail.com> wrote:
> Can I
> change my 'all' target in NMakefile in such way that it depends on
> 'pack_jars' from CMakeLists.txt?

Sure.  Just add ALL, as per the cmake.html docs.

ADD_CUSTOM_TARGET: Add a target with no output so it will always be built.

  ADD_CUSTOM_TARGET(Name [ALL] [command1 [args1...]]
                    [COMMAND command2 [args2...] ...]
                    [DEPENDS depend depend depend ... ]
                    [WORKING_DIRECTORY dir]
                    [COMMENT comment] [VERBATIM])

Cheers,
Brandon Van Every


More information about the CMake mailing list