~kdub/content-hub/mir-deprecations

« back to all changes in this revision

Viewing changes to tools/peer-picker/CMakeLists.txt

Basic skeleton of the out of process peer-picker

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Copyright © 2015 Canonical Ltd.
 
2
#
 
3
# This program is free software: you can redistribute it and/or modify
 
4
# it under the terms of the GNU General Public License version 3 as
 
5
# published by the Free Software Foundation.
 
6
#
 
7
# This program is distributed in the hope that it will be useful,
 
8
# but WITHOUT ANY WARRANTY; without even the implied warranty of
 
9
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
10
# GNU General Public License for more details.
 
11
#
 
12
# You should have received a copy of the GNU General Public License
 
13
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
14
#
 
15
# Authored by: Ken VanDine <ken.vandine@canonical.com>
 
16
 
 
17
include_directories(
 
18
  ${CMAKE_CURRENT_BINARY_DIR}
 
19
)
 
20
 
 
21
qt5_add_resources(RESOURCES qml.qrc)
 
22
add_executable(
 
23
  content-hub-peer-picker
 
24
 
 
25
  main.cpp
 
26
  ${RESOURCES}
 
27
)
 
28
 
 
29
qt5_use_modules(content-hub-peer-picker Core Gui Quick Qml)
 
30
 
 
31
set_target_properties(
 
32
  content-hub-peer-picker
 
33
  PROPERTIES
 
34
  AUTOMOC TRUE
 
35
)
 
36
 
 
37
install(
 
38
  TARGETS content-hub-peer-picker
 
39
  RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
 
40
)
 
41
 
 
42
install(
 
43
  FILES content-hub-peer-picker.desktop
 
44
  DESTINATION ${CMAKE_INSTALL_DATADIR}/applications
 
45
)