~elementary-apps/pantheon-files/trunk

« back to all changes in this revision

Viewing changes to filechooser-module/CMakeLists.txt

  • Committer: donadigo
  • Date: 2015-04-30 22:07:48 UTC
  • mto: This revision was merged to the branch mainline in revision 1842.
  • Revision ID: donadigos159@gmail.com-20150430220748-kay2fc7qf1sn30bf
Initial commit; filechooser gtk module

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
find_package (PkgConfig)
 
2
 
 
3
pkg_check_modules (DEPS REQUIRED glib-2.0 gthread-2.0 gtk+-3.0>=3.10 granite gee-0.8)
 
4
add_definitions (${DEPS_CFLAGS})
 
5
link_directories (${DEPS_LIBRARY_DIRS})
 
6
set (MODULE_NAME "pantheon-filechooser-module")
 
7
set (MOULDES_LIBDIR "/usr/lib/x86_64-linux-gnu")
 
8
 
 
9
vala_precompile (VALA_C ${MODULE_NAME}
 
10
    Plugin.vala
 
11
    LocationBar.vala
 
12
    LocationBarAbstract.vala
 
13
    FileChooserDialog.vala
 
14
    BreadcrumbsElements.vala
 
15
PACKAGES
 
16
    gtk+-3.0
 
17
    granite
 
18
    posix
 
19
    gee-0.8 
 
20
OPTIONS
 
21
    --Xcc=-lm
 
22
    --thread   
 
23
)
 
24
 
 
25
link_libraries(${DEPS_LIBRARIES})
 
26
add_library (${MODULE_NAME} MODULE ${VALA_C})
 
27
target_link_libraries (${MODULE_NAME} ${DEPS_LIBRARIES} gthread-2.0) 
 
28
 
 
29
# Installation
 
30
install (TARGETS ${MODULE_NAME} DESTINATION "${MOULDES_LIBDIR}/gtk-3.0/modules/")