When I use AUTO functionality for qt and cmake, it generates additional 
targets, that tend to clutter the IDE solution.

I always run with
set_property( GLOBAL PROPERTY USE_FOLDERS ON )

I also set the folder property on all my targets.

I am able to "folderize" most of the Qt generated targets by running a simple 
function as the last deferred function call for my main CMakeLists.txt

However, there are some targets that appear to not be actual targets (custom 
targets? Etc) where you cant set the folder property on them.

I can find and put in a folder the <TARGET>_json_extraction & 
qt_internal_plugins but not <TARGET>_autogen

First, doesn't anyone know how to set the folder property on the autogen 
targets?

Second, what do people think about adding a "QT_GENERATED_TARGETS_FOLDER" into 
the Qt cmake flow, so this is done automatically?

Scott
-- 
Development mailing list
[email protected]
https://lists.qt-project.org/listinfo/development

Reply via email to