Changeset View
Changeset View
Standalone View
Standalone View
languages/clang/tests/CMakeLists.txt
1 | add_executable(clang-parser | 1 | add_executable(clang-parser | ||
---|---|---|---|---|---|
2 | clang-parser.cpp | 2 | clang-parser.cpp | ||
3 | ) | 3 | ) | ||
4 | 4 | | |||
5 | target_link_libraries(clang-parser | 5 | target_link_libraries(clang-parser | ||
6 | KDev::Tests | 6 | KDev::Tests | ||
7 | kdevclangduchain | 7 | KDevClangPrivate | ||
8 | ) | 8 | ) | ||
9 | 9 | | |||
10 | add_library(codecompletiontestbase STATIC codecompletiontestbase.cpp) | 10 | add_library(codecompletiontestbase STATIC codecompletiontestbase.cpp) | ||
11 | target_link_libraries(codecompletiontestbase PUBLIC | 11 | target_link_libraries(codecompletiontestbase PUBLIC | ||
12 | KDev::Tests | 12 | KDev::Tests | ||
13 | Qt5::Test | 13 | Qt5::Test | ||
14 | kdevclangcodecompletion | 14 | KDevClangPrivate | ||
15 | kdevclangduchain | | |||
16 | ) | 15 | ) | ||
17 | 16 | | |||
18 | add_executable(clang-minimal-visitor WIN32 | 17 | add_executable(clang-minimal-visitor WIN32 | ||
19 | minimal_visitor.cpp | 18 | minimal_visitor.cpp | ||
20 | ) | 19 | ) | ||
21 | ecm_mark_nongui_executable(clang-minimal-visitor) | 20 | ecm_mark_nongui_executable(clang-minimal-visitor) | ||
22 | target_link_libraries(clang-minimal-visitor | 21 | target_link_libraries(clang-minimal-visitor | ||
23 | ${CLANG_LIBCLANG_LIB} | 22 | ${CLANG_LIBCLANG_LIB} | ||
Show All 12 Lines | 34 | LINK_LIBRARIES | |||
36 | codecompletiontestbase | 35 | codecompletiontestbase | ||
37 | ) | 36 | ) | ||
38 | 37 | | |||
39 | ecm_add_test(test_assistants.cpp | 38 | ecm_add_test(test_assistants.cpp | ||
40 | TEST_NAME test_assistants | 39 | TEST_NAME test_assistants | ||
41 | LINK_LIBRARIES | 40 | LINK_LIBRARIES | ||
42 | KDev::Tests | 41 | KDev::Tests | ||
43 | Qt5::Test | 42 | Qt5::Test | ||
44 | kdevclangduchain | 43 | KDevClangPrivate | ||
45 | kdevclangutil | | |||
46 | ) | 44 | ) | ||
47 | 45 | | |||
48 | ecm_add_test(test_clangutils.cpp | 46 | ecm_add_test(test_clangutils.cpp | ||
49 | TEST_NAME test_clangutils | 47 | TEST_NAME test_clangutils | ||
50 | LINK_LIBRARIES | 48 | LINK_LIBRARIES | ||
51 | KDev::Tests | 49 | KDev::Tests | ||
52 | Qt5::Test | 50 | Qt5::Test | ||
53 | ${CLANG_LIBCLANG_LIB} | 51 | ${CLANG_LIBCLANG_LIB} | ||
54 | kdevclangduchain | 52 | KDevClangPrivate | ||
55 | ) | 53 | ) | ||
56 | 54 | | |||
57 | ecm_add_test(test_duchain.cpp | 55 | ecm_add_test(test_duchain.cpp | ||
58 | TEST_NAME test_duchain-clang | 56 | TEST_NAME test_duchain-clang | ||
59 | LINK_LIBRARIES | 57 | LINK_LIBRARIES | ||
60 | KDev::Tests | 58 | KDev::Tests | ||
61 | Qt5::Test | 59 | Qt5::Test | ||
62 | kdevclangduchain | 60 | KDevClangPrivate | ||
63 | ) | 61 | ) | ||
64 | 62 | | |||
65 | ecm_add_test(test_duchainutils.cpp | 63 | ecm_add_test(test_duchainutils.cpp | ||
66 | TEST_NAME test_duchainutils | 64 | TEST_NAME test_duchainutils | ||
67 | LINK_LIBRARIES | 65 | LINK_LIBRARIES | ||
68 | KDev::Tests | 66 | KDev::Tests | ||
69 | Qt5::Test | 67 | Qt5::Test | ||
70 | kdevclangcodecompletion | 68 | KDevClangPrivate | ||
71 | kdevclangduchain | | |||
72 | ) | 69 | ) | ||
73 | 70 | | |||
74 | ecm_add_test(test_problems.cpp | 71 | ecm_add_test(test_problems.cpp | ||
75 | TEST_NAME test_problems | 72 | TEST_NAME test_problems | ||
76 | LINK_LIBRARIES | 73 | LINK_LIBRARIES | ||
77 | KDev::Tests | 74 | KDev::Tests | ||
78 | Qt5::Test | 75 | Qt5::Test | ||
79 | kdevclangduchain | 76 | KDevClangPrivate | ||
80 | ) | 77 | ) | ||
81 | 78 | | |||
82 | configure_file("testfilepaths.h.cmake" "testfilepaths.h" ESCAPE_QUOTES) | 79 | configure_file("testfilepaths.h.cmake" "testfilepaths.h" ESCAPE_QUOTES) | ||
83 | ecm_add_test(test_files.cpp | 80 | ecm_add_test(test_files.cpp | ||
84 | TEST_NAME test_files-clang | 81 | TEST_NAME test_files-clang | ||
85 | LINK_LIBRARIES | 82 | LINK_LIBRARIES | ||
86 | Qt5::Test | 83 | Qt5::Test | ||
87 | Qt5::Core | 84 | Qt5::Core | ||
Show All 12 Lines |