~ubuntu-branches/ubuntu/vivid/muon/vivid-proposed

« back to all changes in this revision

Viewing changes to installer/CMakeLists.txt

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2015-03-24 23:06:35 UTC
  • mto: This revision was merged to the branch mainline in revision 88.
  • Revision ID: package-import@ubuntu.com-20150324230635-nvt7aq7kqvaxq36e
Tags: upstream-5.2.2-1
ImportĀ upstreamĀ versionĀ 5.2.2-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include_directories(../libmuon ../libmuonapt/)
 
2
 
 
3
set(muon_installer_SRCS
 
4
    main.cpp
 
5
    MainWindow.cpp
 
6
    ApplicationLauncher.cpp
 
7
    ResourceView/ResourceDelegate.cpp
 
8
    ResourceView/ResourceExtender.cpp
 
9
    ResourceView/ResourceListView.cpp
 
10
    ResourceView/ResourceViewWidget.cpp
 
11
    ResourceDetailsView/ResourceDetailsWidget.cpp
 
12
    ResourceDetailsView/ResourceDetailsView.cpp
 
13
    ResourceDetailsView/AddonsWidget.cpp
 
14
    AbstractViewBase.cpp
 
15
    AbstractViewContainer.cpp
 
16
    AvailableView.cpp
 
17
    BreadcrumbWidget/BreadcrumbItem.cpp
 
18
    BreadcrumbWidget/BreadcrumbWidget.cpp
 
19
    BreadcrumbWidget/BreadcrumbItemButton.cpp
 
20
    CategoryView/CategoryDrawer.cpp
 
21
    CategoryView/CategoryView.cpp
 
22
    CategoryView/CategoryViewWidget.cpp
 
23
    ClickableLabel.cpp
 
24
    effects/GraphicsOpacityDropShadowEffect.cpp
 
25
    ProgressView.cpp
 
26
    qml/src/mousecursor.cpp
 
27
    ReviewsWidget/ReviewWidget.cpp
 
28
    ReviewsWidget/ReviewsWidget.cpp
 
29
    ScreenShotOverlay.cpp
 
30
    ViewSwitcher.cpp
 
31
    LaunchListModel.cpp
 
32
)
 
33
 
 
34
kconfig_add_kcfg_files(muon_installer_SRCS GENERATE_MOC config/MuonInstallerSettings.kcfgc)
 
35
 
 
36
add_executable(muon-installer ${muon_installer_SRCS})
 
37
 
 
38
target_link_libraries(muon-installer muonprivate MuonApt
 
39
                                     KF5::KIOWidgets
 
40
                                     QApt::Main
 
41
                                     Qt5::Declarative)
 
42
 
 
43
install(TARGETS muon-installer ${INSTALL_TARGETS_DEFAULT_ARGS} )
 
44
 
 
45
########### install files ###############
 
46
 
 
47
file(GLOB muon_QMLS "${CMAKE_CURRENT_SOURCE_DIR}/qml/qml/*.qml")
 
48
install( PROGRAMS muon-installer.desktop  DESTINATION ${XDG_APPS_INSTALL_DIR} )
 
49
install(FILES muoninstallerui.rc  DESTINATION  ${DATA_INSTALL_DIR}/muoninstaller)
 
50
install(FILES ${muon_QMLS} DESTINATION ${DATA_INSTALL_DIR}/muoninstaller)
 
51
install(FILES config/muon-installer.kcfg DESTINATION ${KCFG_INSTALL_DIR})