~jeremywootten/pantheon-files/fix-1399674-linear-selection-in-icon-view

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Check http://elementaryos.org/docs/developer-guide/cmake for documentation

cmake_minimum_required (VERSION 2.6)
cmake_policy(VERSION 2.6)
project(Marlin)
enable_testing()

list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake )
set(GETTEXT_PACKAGE "pantheon-files")
set(PIXMAP_DIR "${CMAKE_INSTALL_PREFIX}/share/pixmaps/pantheon-files/")
set(GNOMELOCALEDIR "${CMAKE_INSTALL_PREFIX}/share/locale/")
set(PLUGIN_DIR "${CMAKE_INSTALL_PREFIX}/lib/pantheon-files/plugins/")
set(UI_DIR "${CMAKE_INSTALL_PREFIX}/share/pantheon-files/ui/")
set(PACKAGE_VERSION 0.1.1)
set(VERSION 0.1.1)
configure_file (${CMAKE_SOURCE_DIR}/config.h.cmake ${CMAKE_BINARY_DIR}/config.h)

add_definitions("-DGETTEXT_PACKAGE=\"${GETTEXT_PACKAGE}\"")

option (LIB_ONLY "Build libcore and libwidgets only" FALSE)

find_package(Vala REQUIRED)
include(ValaVersion)
ensure_vala_version("0.16.0" MINIMUM)
include(ValaPrecompile)

IF (LIB_ONLY)
    add_subdirectory (libcore)
    add_subdirectory (libwidgets)
ELSE ()
    add_subdirectory (src)
    add_subdirectory (data)
    add_subdirectory (marlin-daemon)
    add_subdirectory (icons)
    add_subdirectory (libcore)
    add_subdirectory (libwidgets)
    add_subdirectory (plugins)
    add_subdirectory (schemas)
    add_subdirectory (po)
ENDIF (LIB_ONLY)