Changeset View
Changeset View
Standalone View
Standalone View
tests/core/CMakeLists.txt
Context not available. | |||||
9 | ) | 9 | ) | ||
---|---|---|---|---|---|
10 | 10 | | |||
11 | ecm_add_test(ActivityInfoTest.cpp TEST_NAME CoreActivityInfoTest LINK_LIBRARIES ${CORE_TEST_LIBRARIES}) | 11 | ecm_add_test(ActivityInfoTest.cpp TEST_NAME CoreActivityInfoTest LINK_LIBRARIES ${CORE_TEST_LIBRARIES}) | ||
12 | ecm_add_test(ApplicationSettingsTest.cpp TEST_NAME CoreApplicationSettingsTest LINK_LIBRARIES ${CORE_TEST_LIBRARIES}) | ||||
Context not available. | |||||
jjazeix: can you do a macro or function to avoid duplicating these 3 lines everytime? | |||||
You can take a look at: https://api.kde.org/ecm/module/ECMAddTests.html, it may be interesting jjazeix: You can take a look at: https://api.kde.org/ecm/module/ECMAddTests.html, it may be interesting | |||||
himanshuvishwakarma: Nice Idea ;-)
I will update in the next diff. |
can you do a macro or function to avoid duplicating these 3 lines everytime?