Autogen: Use JSON instead of CMake script for info files
Autogen: Use JSON instead of CMake script for info files
We used to store information for the _autogen target in a CMake script file AutogenInfo.cmake, which was imported by a temporary cmake instance in the _autogen target. This introduced the overhead of creating a temporary cmake instance and inherited the limitations of the CMake language which only supports lists.
This patch introduces JSON files to pass information to AUTORCC and autogen_ targets. JSON files are more flexible for passing data, e.g. they support nested lists.
The patch has the side effects that
-
AutogenInfo.cmakeis renamed toAutogenInfo.json -
AutogenOldSettings.txtis renamed toAutogenUsed.txt -
RCC<qrcBaseName><checksum>Info.cmakeis renamed toAutoRcc_<qrcBaseName>_<checksum>_Info.json -
RCC<qrcBaseName><checksum>.lockis renamed toAutoRcc_<qrcBaseName>_<checksum>_Lock.lock -
RCC<qrcBaseName><checksum>Settings.txtis renamed toAutoRcc_<qrcBaseName>_<checksum>_Used.txt