On 04/12/2016 02:54 PM, Robert Dailey wrote:
> set_target_properties( ALL_BUILD PROPERTIES FOLDER ${predefined_folder} )
>
> if( BUILD_TESTING )
> set_target_properties( RUN_TESTS PROPERTIES FOLDER "Testing" )
> endif()
>
> However this fails stating those targets do not exist.
They don't
I have the following CMake code:
get_property( predefined_folder GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER )
set_target_properties( ALL_BUILD PROPERTIES FOLDER ${predefined_folder} )
if( BUILD_TESTING )
set_target_properties( RUN_TESTS PROPERTIES FOLDER "Testing" )
endif()
However this