~mterry/qtmir/warn-on-xapp

« back to all changes in this revision

Viewing changes to demos/qml-demo-shell/CMakeLists.txt

  • Committer: Nick Dedekind
  • Date: 2015-09-01 16:16:47 UTC
  • mto: (381.1.6 wheelEvent)
  • mto: This revision was merged to the branch mainline in revision 395.
  • Revision ID: nick.dedekind@canonical.com-20150901161647-829z580lczgu0i1l
touch events tracepoints

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
set(DEMO_SHELL qtmir-demo-shell)
 
2
 
 
3
include_directories(
 
4
    ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
 
5
)
 
6
 
 
7
add_executable(${DEMO_SHELL}
 
8
    main.cpp
 
9
)
 
10
 
 
11
include_directories(
 
12
    ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
 
13
    ${Qt5Qml_PRIVATE_INCLUDE_DIRS}
 
14
    ${Qt5Quick_PRIVATE_INCLUDE_DIRS}
 
15
)
 
16
 
 
17
target_link_libraries(
 
18
    ${DEMO_SHELL}
 
19
    Qt5::Core
 
20
    Qt5::DBus
 
21
    Qt5::Qml
 
22
    Qt5::Quick
 
23
)
 
24
 
 
25
file(GLOB QML_JS_FILES *.qml *.js *.png)
 
26
 
 
27
# install binaries
 
28
install(TARGETS ${DEMO_SHELL}
 
29
     RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
 
30
 )
 
31
 
 
32
install(FILES
 
33
    ${QML_JS_FILES}
 
34
    DESTINATION ${QTMIR_DATA_DIR}/${DEMO_SHELL}
 
35
)