~larryprice/libertine-scope/filter-state

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Tarmac
  • Author(s): Kyle Nitzsche
  • Date: 2016-06-08 20:41:49 UTC
  • mfrom: (37.2.42 filters)
  • Revision ID: tarmac-20160608204149-0uiuyboz25tdrrhw
* Replace the scope settings approach to suppress display of apps with a scope filter based approach. This provides a blacklist file for permanent suppression and filters for user suppression.
* Provide a "Hidden X Apps" department for a place to store the apps hidden in the main scope view, so they can be unhidden later if desired.

Approved by Larry Price, Libertine CI Bot, Christopher Townsend, Stephen M. Webb.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
set(APP ${PROJECT})
47
47
 
48
48
# Important project paths
 
49
# Use this SCOPE_INSTALL_DIR when building the debian
49
50
set(SCOPE_INSTALL_DIR ${CMAKE_INSTALL_FULL_LIBDIR}/unity-scopes/libertine-scope/)
 
51
# USE this when building the click
 
52
#set(SCOPE_INSTALL_DIR "/libertine-scope")
50
53
set(SCOPE_NAME "libertine-scope")
51
54
set(GETTEXT_PACKAGE "${SCOPE_NAME}")
52
55
 
63
66
 
64
67
# Configure and install the click manifest and apparmor files
65
68
configure_file(manifest.json.in ${CMAKE_CURRENT_BINARY_DIR}/manifest.json)
66
 
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/manifest.json
67
 
        DESTINATION ${SCOPE_INSTALL_DIR})
68
 
install(FILES "libertine-scope.apparmor"
69
 
        DESTINATION ${SCOPE_INSTALL_DIR})
 
69
install(FILES 
 
70
        ${CMAKE_CURRENT_BINARY_DIR}/manifest.json
 
71
        "libertine-scope.apparmor"
 
72
        DESTINATION ${SCOPE_INSTALL_DIR})
 
73
#Use this DESTINATION when building click
 
74
#        DESTINATION "/")
70
75
 
71
76
# Add our main directories
72
77
add_subdirectory(libertine-scope)