Kevin Ottens wrote: > On Thursday 01 August 2013 00:38:51 Stephen Kelly wrote: >> Kevin Ottens wrote: >> >> So, if this target/variable task is deferred until CMake 2.8.13 can be >> >> used, the variables don't have to be used even in an intermediate >> >> state. >> > >> > I see, but when is 2.8.13 supposed to be released? I'd rather have us >> > move forward. >> >> 2.8.12 will be released in a few weeks. 2.8.13 about 3 months after that. > > That's way too far in the future to be useful. Hopefully by then we'll > have started splitting (crossing fingers).
The feature was merged to CMake master today, so it will be part of 2.8.12. http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=370bf55415 So, we'll end up having code something like this: add_library(KArchive ${karchive_SRCS}) # Read-only use of 'KF5::KArchive' is now the same as # using 'KArchive' directly. add_library(KF5::KArchive ALIAS KArchive) # Works before and after split: target_link_libraries(anything KF5::KArchive) Thanks, Steve. _______________________________________________ Kde-frameworks-devel mailing list Kde-frameworks-devel@kde.org https://mail.kde.org/mailman/listinfo/kde-frameworks-devel