[CMake] Setting target property FOLDER on target ALL_BUILD

Stuermer, Michael SP/HZA-ZSEP michael.stuermer at schaeffler.com
Fri Jan 29 09:43:00 EST 2016


I would like to move the ALL_BUILD target tot he "CMakePredefinedTargets", however this seems not be possible straight away. At least even at the very end of the very last CMakeLists.txt I still cannot call

set_target_properties(ALL_BUILD
    PROPERTIES
    FOLDER " CMakePredefinedTargets ")

without getting an error that the target does not exist. Can it be done at all?

best regards,
Michael

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160129/f5516eb7/attachment.html>


More information about the CMake mailing list