~abreu-alexandre/webbrowser-app/desktop-ua-override-fix-regexp

« back to all changes in this revision

Viewing changes to src/app/CMakeLists.txt

  • Committer: CI bot
  • Author(s): Olivier Tilloy
  • Date: 2014-03-17 11:56:55 UTC
  • mfrom: (458.1.14 private-types)
  • Revision ID: ps-jenkins@lists.canonical.com-20140317115655-jzub8c3sltmabpub
Do not register private types in the public plugin.
Register them in the webbrowser application scope instead.

I have made sure that private types that were previously public are currently not being used by any application in the store, so this refactoring is safe. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
    ${CMAKE_CURRENT_BINARY_DIR}/config.h
6
6
    @ONLY)
7
7
 
 
8
set(COMMONLIB webbrowser-common)
 
9
 
 
10
set(COMMONLIB_SRC
 
11
    browserapplication.cpp
 
12
    webbrowser-window.cpp
 
13
)
 
14
 
 
15
add_library(${COMMONLIB} STATIC ${COMMONLIB_SRC})
 
16
 
 
17
qt5_use_modules(${COMMONLIB} Core Network Qml Quick Widgets)
 
18
 
8
19
file(GLOB QML_FILES *.qml)
9
20
install(FILES ${QML_FILES} DESTINATION ${CMAKE_INSTALL_DATADIR}/webbrowser-app)
10
21
install(DIRECTORY actions DESTINATION ${CMAKE_INSTALL_DATADIR}/webbrowser-app
15
26
 
16
27
add_subdirectory(webbrowser)
17
28
add_subdirectory(webcontainer)
18