Hello,

I have a target `MyTarget`. Is there a way I could do something like

clone_target(MyTarget MyNewTarget)

so that MyNewTarget appears to be the exact clone (deep copy) of original
target
with the only difference of a target name?

P.S. I understand that complex projects may be the edge-cases for a
general-purpose
cloning routine. I would be fine with a method that does the job in most of
the cases.

Thanks,

Stan
-- 

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-developers

Reply via email to