~mterry/ubuntu-calculator-app/confined

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Bartosz Kosiorek
  • Date: 2015-01-29 16:25:04 UTC
  • mfrom: (77.2.4 reboot-fix-click-package)
  • Revision ID: tarmac-20150129162504-k1n2yckkdzqhwen7
Fix Click package configuration.

Approved by Alan Pope , Ubuntu Phone Apps Jenkins Bot.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
set(MAIN_QML                        ${APP_HARDCODE}.qml)
34
34
set(ICON                            "${APP_HARDCODE}.png")
35
35
set(DESKTOP_FILE                    "${APP_HARDCODE}.desktop")
36
 
set(APP_VERSION                     0.1)
 
36
set(AUTOPILOT_DIR                   ubuntu_calculator_app)
 
37
set(APP_VERSION                     2.0)
37
38
 
38
39
if(CLICK_MODE)
39
40
  set(CMAKE_INSTALL_PREFIX "/")
48
49
              OUTPUT_VARIABLE BZR_REVNO
49
50
              WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
50
51
              OUTPUT_STRIP_TRAILING_WHITESPACE
51
 
      )
 
52
    )
52
53
  endif(NOT BZR_REVNO)
53
54
  if(NOT BZR_SOURCE)
54
55
    set(BZR_SOURCE lp:${APP_HARDCODE})
80
81
endif(CLICK_MODE)
81
82
 
82
83
file(GLOB_RECURSE I18N_SRC_FILES
83
 
    RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/po
84
 
    *.qml *.js)
 
84
     RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}/po
 
85
     *.qml *.js)
85
86
list(APPEND I18N_SRC_FILES  ${CMAKE_CURRENT_BINARY_DIR}/po/${DESKTOP_FILE}.in.in.h)
86
87
list(SORT I18N_SRC_FILES)
87
88