1813.1.4
by donadigo
Initial commit; filechooser gtk module |
1 |
find_package (PkgConfig) |
1869.1.1
by donadigo
Do not hardcode module path |
2 |
include(GNUInstallDirs) |
1813.1.4
by donadigo
Initial commit; filechooser gtk module |
3 |
|
1953.2.12
by Jeremy Wootten
Simplify Filechooser module CMakeList.txt |
4 |
include_directories (${CMAKE_SOURCE_DIR}/libcore/) |
5 |
include_directories (${CMAKE_BINARY_DIR}/libcore/) |
|
6 |
include_directories (${CMAKE_BINARY_DIR}/libwidgets/) |
|
7 |
||
1813.1.4
by donadigo
Initial commit; filechooser gtk module |
8 |
pkg_check_modules (DEPS REQUIRED glib-2.0 gthread-2.0 gtk+-3.0>=3.10 granite gee-0.8) |
1953.2.11
by Jeremy Wootten
Fix MODULE_ONLY and LIB_ONLY build |
9 |
|
1813.1.4
by donadigo
Initial commit; filechooser gtk module |
10 |
add_definitions (${DEPS_CFLAGS}) |
11 |
link_directories (${DEPS_LIBRARY_DIRS}) |
|
12 |
set (MODULE_NAME "pantheon-filechooser-module") |
|
1869.1.2
by donadigo
Fix typo: MODULE_LIBDIR |
13 |
set (MODULE_LIBDIR "${CMAKE_INSTALL_LIBDIR}/gtk-3.0/modules/") |
1813.1.4
by donadigo
Initial commit; filechooser gtk module |
14 |
|
15 |
vala_precompile (VALA_C ${MODULE_NAME} |
|
1813.1.20
by donadigo
Fixed warning: access to static member...; change MOUDLES_LIBDIR to MODULE_LIBDIR; build from libwidgets source files instead of duplications; avoid long lines in remove_gtk_widgets method; create_folder_button now has a tooltip |
16 |
FileChooserDialog.vala |
1813.1.4
by donadigo
Initial commit; filechooser gtk module |
17 |
Plugin.vala |
18 |
PACKAGES |
|
19 |
gtk+-3.0 |
|
20 |
granite |
|
1953.2.12
by Jeremy Wootten
Simplify Filechooser module CMakeList.txt |
21 |
pantheon-files-widgets |
22 |
pantheon-files-core |
|
23 |
pantheon-files-core-C |
|
1813.1.4
by donadigo
Initial commit; filechooser gtk module |
24 |
OPTIONS |
1953.2.12
by Jeremy Wootten
Simplify Filechooser module CMakeList.txt |
25 |
--vapidir=${CMAKE_SOURCE_DIR}/libcore |
26 |
--vapidir=${CMAKE_BINARY_DIR}/libcore |
|
27 |
--vapidir=${CMAKE_BINARY_DIR}/libwidgets |
|
1813.1.4
by donadigo
Initial commit; filechooser gtk module |
28 |
) |
29 |
||
30 |
link_libraries(${DEPS_LIBRARIES}) |
|
31 |
add_library (${MODULE_NAME} MODULE ${VALA_C}) |
|
1953.2.15
by Jeremy Wootten
Fix Filechooser module CMakeList.txt - missing target_link_libraries |
32 |
target_link_libraries (${MODULE_NAME} ${DEPS_LIBRARIES} pantheon-files-widgets pantheon-files-core |
33 |
) |
|
1813.1.4
by donadigo
Initial commit; filechooser gtk module |
34 |
|
35 |
# Installation |
|
1869.1.2
by donadigo
Fix typo: MODULE_LIBDIR |
36 |
install (TARGETS ${MODULE_NAME} DESTINATION "${MODULE_LIBDIR}") |
1949.2.2
by Jeremy Wootten
Correct breadcrumb elements to path function |
37 |