[CMake] Target 'copy-construction'/'fork'
Domagoj Saric
domagoj.saric at littleendian.com
Wed Dec 10 08:58:45 EST 2014
Hi,
Given a target named Foo, is there a simple/builtin way to create a copy of that
target named Bar so that it retains all the properties of Foo but can be
independently changed from that point onward i.e. is there a way for CMake
targets to follow the semantics of standard C++ objects with copy-constructors..?
This would be useful for creating targets which are essentially the same but
differ only in a few properties (e.g. creating /MD and /MT versions of a MSVC
DLL)...
--
Domagoj Saric
Software Architect
www.LittleEndian.com
More information about the CMake
mailing list