~nik90/ubuntu-weather-app/fix-ota10-sdk-issues

« back to all changes in this revision

Viewing changes to click/CMakeLists.txt

  • Committer: Nekhelesh Ramananthan
  • Date: 2015-01-23 22:44:55 UTC
  • mto: (1.1.3 build-reboot)
  • mto: This revision was merged to the branch mainline in revision 2.
  • Revision ID: krnekhelesh@gmail.com-20150123224455-240bqbs6t3gxqw68
Moved manifest file out of click folder since qtcreator ubuntu plugin requires manifest file in the root directory

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
if(CLICK_MODE)
2
 
    if(NOT BZR_REVNO)
3
 
        set(BZR_REVNO "latest")
4
 
    endif(NOT BZR_REVNO)
5
 
    configure_file(manifest.json.in ${CMAKE_CURRENT_BINARY_DIR}/manifest.json)
6
 
    install(FILES ${CMAKE_CURRENT_BINARY_DIR}/manifest.json weather.apparmor
7
 
            DESTINATION ${CMAKE_INSTALL_PREFIX})
8
 
 
9
 
    # make the click files visible in qtcreator
10
 
    file(GLOB CLICK_FILES
11
 
         RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
12
 
         *.json *.json.in *.apparmor)
13
 
 
14
 
    add_custom_target(com_ubuntu_weather_CLICKFiles ALL SOURCES ${CLICK_FILES})
15
 
endif(CLICK_MODE)