Eric Lemings wrote:
If question is already answered somewhere, just point us to it.  I
couldn't find an answer in the CMake Wiki or FAQ.

Did you try Reading The Fine Man[page]? ;-) (Or, 'cmake --help-command add_custom_target'.)

How do I create a custom target in a subdirectory that is dependent on
the top-level target `all'?  The simple command `add_dependencies (foo
all)' doesn't work.

'add_custom_target(my_target ALL ...)'?

--
Matthew
Please do not quote my e-mail address unobfuscated in message bodies.
--
Anyone who is capable of getting themselves made President should on no account be allowed to do the job. -- Douglas Adams

_______________________________________________
CMake mailing list
CMake@cmake.org
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to