~ubuntu-docviewer-dev/ubuntu-docviewer-app/lo-viewer

« back to all changes in this revision

Viewing changes to src/app/CMakeLists.txt

Update framework to 'ubuntu-sdk-14.10'. Fixes: https://bugs.launchpad.net/bugs/1401718.

Approved by Nekhelesh Ramananthan, Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
file(GLOB_RECURSE QML_SRCS *.qml *.js)
2
2
 
3
 
find_package(Qt5Core)
4
 
find_package(Qt5Gui)
5
 
find_package(Qt5Qml)
6
 
find_package(Qt5Quick)
7
 
 
8
 
add_definitions(
9
 
  -DGETTEXT_PACKAGE=\"${PROJECT_NAME}\"
10
 
  -DGETTEXT_LOCALEDIR=\"${CMAKE_INSTALL_LOCALEDIR}\"
11
 
)
12
 
 
13
 
configure_file(
14
 
    config.h.in
15
 
    ${CMAKE_CURRENT_BINARY_DIR}/config.h
16
 
    @ONLY
17
 
)
18
 
 
19
 
include_directories(
20
 
    ${CMAKE_CURRENT_BINARY_DIR}
21
 
)
22
 
 
23
3
set(docviewer_SRCS
24
4
    main.cpp
25
 
    renderengine.cpp
26
 
    rendertask.cpp
27
5
    ${QML_SRCS}
28
6
)
29
7
 
39
17
endif(NOT "${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_CURRENT_BINARY_DIR}")
40
18
 
41
19
install(DIRECTORY qml DESTINATION ${DATA_DIR})
42
 
 
43
20
if(CLICK_MODE)
44
21
  install(TARGETS ubuntu-docviewer-app DESTINATION ${BIN_DIR})
45
22
else()