kossebau updated this revision to Diff 66670. kossebau added a comment.
add first set of unit tests covering the main functionality. Feedback on principal approach wanted! Also add some fixes to actual macro code found by the tests already :) REPOSITORY R240 Extra CMake Modules CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D23789?vs=65854&id=66670 BRANCH addgenerateexportheader REVISION DETAIL https://phabricator.kde.org/D23789 AFFECTED FILES docs/module/ECMGenerateExportHeader.rst modules/ECMGenerateExportHeader.cmake tests/CMakeLists.txt tests/ECMGenerateExportHeaderTest/CMakeLists.txt tests/ECMGenerateExportHeaderTest/consumer/CMakeLists.txt tests/ECMGenerateExportHeaderTest/consumer/main.cpp tests/ECMGenerateExportHeaderTest/format_version/CMakeLists.txt tests/ECMGenerateExportHeaderTest/format_version/main.cpp tests/ECMGenerateExportHeaderTest/library/CMakeLists.txt tests/ECMGenerateExportHeaderTest/library/library.cpp tests/ECMGenerateExportHeaderTest/library/library.hpp tests/ECMGenerateExportHeaderTest/library/main.cpp To: kossebau Cc: chehrlic, dfaure, cgiboudeaux, kde-frameworks-devel, kde-buildsystem, LeGast00n, GB_2, bencreasy, michaelh, ngraham, bruns