~elementary-apps/pantheon-files/trunk

« back to all changes in this revision

Viewing changes to plugins/extended-actions/CMakeLists.txt

  • Committer: Sergey "Shnatsel" Davidoff
  • Author(s): Victor Eduardo
  • Date: 2013-04-24 20:27:55 UTC
  • mfrom: (1155.1.6 pantheon-files)
  • Revision ID: sergey@elementaryos.org-20130424202755-xqmxu1hau2qlw1b3
Migrated Contractor plugin to the new Contractor API using the Granite wrapper

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
find_package(PkgConfig)
2
 
pkg_check_modules(DEPS REQUIRED
3
 
        gtk+-3.0
4
 
    gee-1.0
5
 
    glib-2.0)
6
 
set(CFLAGS
7
 
        ${DEPS_CFLAGS} ${DEPS_CFLAGS_OTHER}
8
 
)
9
 
include_directories(${CMAKE_BINARY_DIR}/libcore/)
10
 
include_directories(${CMAKE_SOURCE_DIR}/libcore/)
11
 
add_definitions(${CFLAGS})
12
 
link_directories(${LIB_PATHS})
13
 
vala_precompile(VALA_C marlin-extended-actions
14
 
    plugin.vala
15
 
CUSTOM_VAPIS
16
 
    ${CMAKE_BINARY_DIR}/libcore/marlincore.vapi
17
 
    ${CMAKE_SOURCE_DIR}/libcore/marlincore-C.vapi
18
 
    ${CMAKE_BINARY_DIR}/libwidgets/marlinwidgets.vapi
19
 
PACKAGES
20
 
    gtk+-3.0
21
 
    gee-1.0
22
 
OPTIONS
23
 
    --thread)
24
 
add_library(marlin-extended-actions SHARED
25
 
    ${VALA_C})
26
 
target_link_libraries(marlin-extended-actions marlincore marlinwidgets)
27
 
install(TARGETS marlin-extended-actions DESTINATION lib/marlin/plugins/core/)
28
 
install(FILES extended-actions.plug DESTINATION lib/marlin/plugins/core/)