Warning, /kdevelop/kdevelop/plugins/clangtidy/tests/CMakeLists.txt is written in an unsupported language. File is not indexed.
0001 remove_definitions( 0002 -DQT_NO_CAST_FROM_ASCII 0003 -DQT_NO_CAST_TO_ASCII 0004 -DQT_NO_CAST_FROM_BYTEARRAY 0005 ) 0006 0007 include_directories( 0008 ${Boost_INCLUDE_DIRS} 0009 ../ 0010 "${CMAKE_CURRENT_BINARY_DIR}/.." 0011 ) 0012 0013 file(COPY "${CMAKE_CURRENT_SOURCE_DIR}/data" 0014 DESTINATION "${CMAKE_CURRENT_BINARY_DIR}/") 0015 0016 # disable for now: 0017 # CentOS used for appimage does not have string_ref.hpp (Boost >= 1.53) as used by current code 0018 if(FALSE) 0019 ecm_add_test(test_replacementparser.cpp 0020 ../parsers/replacementparser.cpp 0021 ${kdevclangtidy_LOG_SRCS} 0022 TEST_NAME test_replacementparser 0023 LINK_LIBRARIES Qt5::Test KDev::Tests KDevCompileAnalyzerCommon 0024 ) 0025 endif() 0026 0027 ecm_add_test(test_clangtidyparser.cpp 0028 ../parsers/clangtidyparser.cpp 0029 ${kdevclangtidy_LOG_SRCS} 0030 TEST_NAME test_clangtidyparser 0031 LINK_LIBRARIES Qt5::Test KDev::Tests KDevCompileAnalyzerCommon 0032 ) 0033 0034 ecm_add_test(test_clangtidyjob.cpp 0035 ../job.cpp 0036 ../parsers/clangtidyparser.cpp 0037 ${kdevclangtidy_LOG_SRCS} 0038 TEST_NAME test_clangtidyjob 0039 LINK_LIBRARIES Qt5::Test KDev::Tests KDevCompileAnalyzerCommon 0040 ) 0041 0042 ecm_add_test(test_checkgroup.cpp 0043 ../config/checkgroup.cpp 0044 ${kdevclangtidy_LOG_SRCS} 0045 TEST_NAME test_checkgroup 0046 LINK_LIBRARIES Qt5::Test KDev::Tests KDevCompileAnalyzerCommon 0047 ) 0048 0049 # TODO: Discover how to test the plugin class. 0050 # ecm_add_test(test_plugin.cpp ${PROJECT_SOURCE_DIR}/src/plugin.cpp ${PROJECT_SOURCE_DIR}/src/job.cpp 0051 # ${kdevclangtidy_LOG_SRCS} 0052 # TEST_NAME test_clangtidyplugin 0053 # LINK_LIBRARIES Qt5::Test KDev::Tests)