tcanabrava created this revision. Herald added a project: Frameworks. Herald added a subscriber: kde-frameworks-devel. tcanabrava requested review of this revision.
REVISION SUMMARY This is really a wip, completely broken. It's just so people can point me to the right direction. Rework CfgEntry Remove commented code Add base class `KConfigCodeGenerator`, a helper to generate the Header and Source files Add new KConfigHeaderGenerator / Share the common Structs KConfigHeaderGenerator will generate the Header, it uses the same structs as the kconfig_compiler.cpp Create a Struct for the parse results and use it. Fix header Generation Implement the Enums / Move Quite of code around Moved Create Constructor Move Destructor Move `This` and `Const` special Vars to ConfigCodeGenerator REPOSITORY R237 KConfig BRANCH megaRefactor REVISION DETAIL https://phabricator.kde.org/D26202 AFFECTED FILES src/kconfig_compiler/CMakeLists.txt src/kconfig_compiler/KConfigCodeGenerator.cpp src/kconfig_compiler/KConfigCodeGenerator.h src/kconfig_compiler/KConfigCommonStructs.h src/kconfig_compiler/KConfigHeaderGenerator.cpp src/kconfig_compiler/KConfigHeaderGenerator.h src/kconfig_compiler/KConfigXTParameters.cpp src/kconfig_compiler/KConfigXTParameters.h src/kconfig_compiler/kconfig_compiler.cpp To: tcanabrava Cc: kde-frameworks-devel, LeGast00n, GB_2, michaelh, ngraham, bruns