Warning, /sdk/elf-dissector/src/ui/CMakeLists.txt is written in an unsupported language. File is not indexed.

0001 # all code in a static library, for usage in unit tests
0002 set(libelfdissectorui_srcs
0003     ${CMAKE_SOURCE_DIR}/src/3rdparty/treemap/treemap.cpp
0004 
0005     elfmodel/elfmodel.cpp
0006     elfmodel/datavisitor.cpp
0007     elfmodel/indexvisitor.cpp
0008     elfmodel/parentvisitor.cpp
0009     elfmodel/rowcountvisitor.cpp
0010     elfmodel/sectionproxymodel.cpp
0011 
0012     dependencymodel/dependencymodel.cpp
0013     dependencymodel/usedsymbolmodel.cpp
0014     dependencymodel/unuseddependenciesmodel.cpp
0015     dependencymodel/filelistmodel.cpp
0016     dependencymodel/fileusermodel.cpp
0017 
0018     issuesmodel/issuesmodel.cpp
0019 
0020     loadbenchmarkmodel/loadbenchmarkmodel.cpp
0021 
0022     typemodel/typemodel.cpp
0023 
0024     navigator/codenavigator.cpp
0025     navigator/codenavigatorprinter.cpp
0026 
0027     plotter/gnuplotter.cpp
0028     plotter/plotter.qrc
0029 
0030     widgets/gnuplotwidget.cpp
0031     widgets/sidepane.cpp
0032 
0033     views/dependencyview.cpp
0034     views/elfstructureview.cpp
0035     views/issuesview.cpp
0036     views/loadbenchmarkview.cpp
0037     views/sizetreemapview.cpp
0038     views/typeview.cpp
0039 
0040     mainwindow.cpp
0041     colorizer.cpp
0042 )
0043 
0044 add_library(libelfdissectorui STATIC ${libelfdissectorui_srcs})
0045 target_link_libraries(libelfdissectorui Qt5::Widgets libelfdissector)
0046 if (HAVE_DWARF)
0047   target_link_libraries(libelfdissectorui Dwarf::Dwarf)
0048 endif()
0049 
0050 ecm_create_qm_loader(elfdissector_qm_loader elf-dissector_qt)
0051 add_executable(elf-dissector
0052     ${elfdissector_qm_loader}
0053     main.cpp
0054 )
0055 target_link_libraries(elf-dissector libelfdissectorui)
0056 install(TARGETS elf-dissector ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
0057 
0058 install(PROGRAMS org.kde.elf-dissector.desktop DESTINATION ${KDE_INSTALL_APPDIR})
0059 install(FILES org.kde.elf-dissector.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
0060 
0061 ecm_install_icons(
0062   ICONS 16-apps-elf-dissector.svg  32-apps-elf-dissector.svg
0063   DESTINATION ${KDE_INSTALL_ICONDIR}
0064 )