Dear All,
Is it possible to add additional source files to an already existing custom
target?
My project needs to generate a number of "different things", which it does by
setting up many custom commands. In order to trigger the generation of
everything, I currently need to set up an inconvenient number of custom targets
as well. Would it be possible to attach multiple custom commands to an already
existing custom target?
Unfortunately it's not really an option to only set up the custom target once
all the custom commands are already configured, and all their outputs are
already known.
I guess my question is, what property of a custom target I need to append file
names to? What internal property gets set with the values passed to the SOURCES
argument of add_custom_target? (That I could then append additional file names
to.)
Cheers,
Attila
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake