mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
AUTOUIC: Collect ui header files for Ninja generator
The '<user target>_autogen/timestamp' target supposed to generate ui header files using the 'uic'. Ninja must have information about these header files as a result of generating. The fix collects .ui files of the user target and generates a list of the ui headers that need to be added to the generating results of the '<user target>_autogen/timestamp' target. The case when the .ui files are not specified and collected by AUTOUIC from the include directives of the project source files is not covered in this patch. Fixes: #16776
This commit is contained in:
@@ -239,6 +239,8 @@ private:
|
||||
std::vector<UiFileT> UiFiles;
|
||||
ConfigStrings<std::vector<std::string>> Options;
|
||||
std::vector<std::string> SearchPaths;
|
||||
std::vector<std::pair<ConfigString /*ui header*/, std::string /*genex*/>>
|
||||
UiHeaders;
|
||||
} Uic;
|
||||
|
||||
/** rcc variables. */
|
||||
|
||||
Reference in New Issue
Block a user