Warning, /sdk/codevis/lvtqtc/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 AddTargetLibrary(
0002     LIBRARY_NAME
0003         lvtqtc
0004     SOURCES
0005         # Undo system:
0006         ct_lvtqtc_undo_add_package.cpp
0007         ct_lvtqtc_undo_add_package.h
0008         ct_lvtqtc_undo_add_component.cpp
0009         ct_lvtqtc_undo_add_component.h
0010         ct_lvtqtc_undo_add_logicalentity.cpp
0011         ct_lvtqtc_undo_add_logicalentity.h
0012         ct_lvtqtc_undo_add_edge.cpp
0013         ct_lvtqtc_undo_add_edge.h
0014         ct_lvtqtc_undo_add_entity_common.cpp
0015         ct_lvtqtc_undo_cover.cpp
0016         ct_lvtqtc_undo_cover.h
0017         ct_lvtqtc_undo_expand.cpp
0018         ct_lvtqtc_undo_expand.h
0019         ct_lvtqtc_undo_notes.cpp
0020         ct_lvtqtc_undo_notes.h
0021         ct_lvtqtc_iconhelpers.cpp
0022         ct_lvtqtc_undo_load_entity.cpp
0023         ct_lvtqtc_undo_load_entity.h
0024         ct_lvtqtc_undo_manager.cpp
0025         ct_lvtqtc_undo_move.cpp
0026         ct_lvtqtc_undo_move.h
0027         ct_lvtqtc_undo_rename_entity.cpp
0028         ct_lvtqtc_undo_rename_entity.h
0029         ct_lvtqtc_undo_reparent_entity.cpp
0030         ct_lvtqtc_undo_reparent_entity.h
0031         ct_lvtqtc_repositoryentity.cpp
0032         ct_lvtqtc_repositoryentity.h
0033 
0034         # Algorithms:
0035         ct_lvtqtc_alg_transitive_reduction.cpp
0036         ct_lvtqtc_alg_level_layout.cpp
0037 
0038         # Components:
0039         ct_lvtqtc_componententity.cpp
0040         ct_lvtqtc_edgecollection.cpp
0041         ct_lvtqtc_ellipsistextitem.cpp
0042         ct_lvtqtc_graphicsrectitem.cpp
0043         ct_lvtqtc_graphicsscene.cpp
0044         ct_lvtqtc_graphicsview.cpp
0045         ct_lvtqtc_isa.cpp
0046         ct_lvtqtc_lakosentity.cpp
0047         ct_lvtqtc_lakosentitypluginutils.cpp
0048         ct_lvtqtc_lakosrelation.cpp
0049         ct_lvtqtc_logicalentity.cpp
0050         ct_lvtqtc_minimap.cpp
0051         ct_lvtqtc_packagedependency.cpp
0052         ct_lvtqtc_packageentity.cpp
0053         ct_lvtqtc_tooltip.cpp
0054         ct_lvtqtc_usesinnameonly.cpp
0055         ct_lvtqtc_usesintheimplementation.cpp
0056         ct_lvtqtc_usesintheinterface.cpp
0057         ct_lvtqtc_util.cpp
0058         ct_lvtqtc_inputdialog.cpp
0059         ct_lvtqtc_inspect_dependency_window.cpp
0060 
0061         # tools
0062         ct_lvtqtc_itool.cpp
0063         ct_lvtqtc_edge_based_tool.cpp
0064         ct_lvtqtc_tool_add_physical_dependency.cpp
0065         ct_lvtqtc_tool_add_logical_relation.cpp
0066         ct_lvtqtc_tool_zoom.cpp
0067         ct_lvtqtc_tool_rubberband.cpp
0068         ct_lvtqtc_tool_add_package.cpp
0069         ct_lvtqtc_tool_add_component.cpp
0070         ct_lvtqtc_tool_add_logical_entity.cpp
0071         ct_lvtqtc_tool_add_entity.cpp
0072         ct_lvtqtc_tool_reparent_entity.cpp
0073 
0074         # plugin interface
0075         ct_lvtqtc_pluginmanagerutils.cpp
0076         ct_lvtqtc_pluginmanagerutils.h
0077 
0078         QT_HEADERS
0079         ct_lvtqtc_undo_manager.h
0080         ct_lvtqtc_alg_transitive_reduction.h
0081         ct_lvtqtc_alg_level_layout.h
0082 
0083         ct_lvtqtc_componententity.h
0084         ct_lvtqtc_edgecollection.h
0085         ct_lvtqtc_ellipsistextitem.h
0086         ct_lvtqtc_graphicsrectitem.h
0087         ct_lvtqtc_graphicsscene.h
0088         ct_lvtqtc_graphicsview.h
0089         ct_lvtqtc_isa.h
0090         ct_lvtqtc_lakosentity.h
0091         ct_lvtqtc_lakosrelation.h
0092         ct_lvtqtc_logicalentity.h
0093         ct_lvtqtc_lakosentitypluginutils.h
0094         ct_lvtqtc_minimap.h
0095         ct_lvtqtc_packagedependency.h
0096         ct_lvtqtc_packageentity.h
0097         ct_lvtqtc_tooltip.h
0098         ct_lvtqtc_usesinnameonly.h
0099         ct_lvtqtc_usesintheimplementation.h
0100         ct_lvtqtc_usesintheinterface.h
0101         ct_lvtqtc_util.h
0102         ct_lvtqtc_inputdialog.h
0103         ct_lvtqtc_itool.h
0104         ct_lvtqtc_edge_based_tool.h
0105         ct_lvtqtc_tool_add_physical_dependency.h
0106         ct_lvtqtc_tool_add_logical_relation.h
0107         ct_lvtqtc_tool_zoom.h
0108         ct_lvtqtc_tool_rubberband.h
0109         ct_lvtqtc_tool_add_package.h
0110         ct_lvtqtc_tool_add_component.h
0111         ct_lvtqtc_tool_add_logical_entity.h
0112         ct_lvtqtc_tool_add_entity.h
0113         ct_lvtqtc_tool_reparent_entity.h
0114         ct_lvtqtc_inspect_dependency_window.h
0115 
0116     LIBRARIES
0117         Codethink::lvtldr
0118         Codethink::lvtmdl
0119         Codethink::lvtshr
0120         Codethink::lvtclr
0121         Codethink::lvtplg
0122         Codethink::lvtprj
0123         Codethink::MRichTextEdit
0124         KF${KF_MAJOR_VERSION}::WidgetsAddons
0125         Codethink::lakospreferences
0126         Qt${QT_MAJOR_VERSION}::Core
0127         Qt${QT_MAJOR_VERSION}::Gui
0128         Qt${QT_MAJOR_VERSION}::Widgets
0129 )
0130 
0131 if (COMPILE_TESTS)
0132     function(ADD_LVTQTC_TESTCASE TC_NAME)
0133         MESSAGE(STATUS "Adding test ${TC_NAME}")
0134 
0135         add_executable(test_${TC_NAME}
0136             ${TC_NAME}.t.cpp
0137             ct_lvtqtc_testing_utils.cpp
0138             ct_lvtqtc_testing_utils.h
0139             ct_lvtqtc_nodestorage_testing_helpers.h
0140         )
0141 
0142         target_link_libraries(test_${TC_NAME}
0143             Codethink::lvtqtc
0144             Codethink::lvtmdb
0145             Codethink::lvttst
0146             Codethink::lvttst_tmpdir
0147             Codethink::lvttst_fixture_qt
0148             Qt::Test
0149         )
0150 
0151         add_test(NAME test_${TC_NAME} COMMAND test_${TC_NAME})
0152     endfunction()
0153 
0154     add_lvtqtc_testcase(ct_lvtqtc_alg_transitive_reduction)
0155     add_lvtqtc_testcase(ct_lvtqtc_graphicsview)
0156     add_lvtqtc_testcase(ct_lvtqtc_tool_add_package)
0157     add_lvtqtc_testcase(ct_lvtqtc_tool_add_component)
0158     add_lvtqtc_testcase(ct_lvtqtc_tool_add_physical_dependency)
0159     add_lvtqtc_testcase(ct_lvtqtc_tool_add_logical_relation)
0160     add_lvtqtc_testcase(ct_lvtqtc_tool_add_logical_entity)
0161     add_lvtqtc_testcase(ct_lvtqtc_lakosentity)
0162     add_lvtqtc_testcase(ct_lvtqtc_inputdialog)
0163     add_lvtqtc_testcase(ct_lvtqtc_undo_add_component)
0164     add_lvtqtc_testcase(ct_lvtqtc_undo_add_logicalentity)
0165     add_lvtqtc_testcase(ct_lvtqtc_undo_add_package)
0166     add_lvtqtc_testcase(ct_lvtqtc_undo_move)
0167     add_lvtqtc_testcase(ct_lvtqtc_undo_notes)
0168     add_lvtqtc_testcase(ct_lvtqtc_undo_rename_entity)
0169     add_lvtqtc_testcase(ct_lvtqtc_undo_load_entity)
0170     add_lvtqtc_testcase(ct_lvtqtc_tool_reparent_entity)
0171     add_lvtqtc_testcase(ct_lvtqtc_graphicsscene)
0172     add_lvtqtc_testcase(ct_lvtqtc_ellipsistextitem)
0173     add_lvtqtc_testcase(ct_lvtqtc_inspect_dependency_window)
0174 endif()