~alan-griffiths/miral/fix-1645284

« back to all changes in this revision

Viewing changes to miral-qt/demos/qml-demo-client/CMakeLists.txt

  • Committer: Alan Griffiths
  • Date: 2016-11-07 17:59:19 UTC
  • mfrom: (436.1.1 miral2)
  • Revision ID: alan@octopull.co.uk-20161107175919-stbb64i7j1htgog2
[miral-qt] delete all as qtmir work on MirAL has shifted to lp:~unity-team/qtmir/miral-qt-integration and this is a needless distration

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
set(DEMO_CLIENT qtmir-demo-client)
2
 
configure_file(${DEMO_CLIENT}.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/${DEMO_CLIENT}.desktop @ONLY)
3
 
 
4
 
include_directories(
5
 
    SYSTEM
6
 
    ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
7
 
    ${Qt5Qml_PRIVATE_INCLUDE_DIRS}
8
 
    ${Qt5Quick_PRIVATE_INCLUDE_DIRS}
9
 
)
10
 
 
11
 
add_executable(${DEMO_CLIENT}
12
 
    main.cpp
13
 
)
14
 
 
15
 
target_link_libraries(
16
 
    ${DEMO_CLIENT}
17
 
    Qt5::Core
18
 
    Qt5::DBus
19
 
    Qt5::Qml
20
 
    Qt5::Quick
21
 
)
22
 
 
23
 
file(GLOB QML_JS_FILES *.qml *.js *.png)
24
 
 
25
 
# install binaries
26
 
install(TARGETS ${DEMO_CLIENT}
27
 
     RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
28
 
 )
29
 
 
30
 
install(FILES
31
 
    ${QML_JS_FILES}
32
 
    DESTINATION ${QTMIR_DATA_DIR}/${DEMO_CLIENT}
33
 
)
34
 
 
35
 
install(FILES
36
 
    ${CMAKE_CURRENT_BINARY_DIR}/${DEMO_CLIENT}.desktop
37
 
    DESTINATION ${CMAKE_INSTALL_PREFIX}/share/applications
38
 
)
 
 
b'\\ No newline at end of file'