forked from svn2github/exiv2_
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bootstrap.linux
executable file
·36 lines (31 loc) · 1 KB
/
bootstrap.linux
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
#!/bin/sh
# Copyright (c) 2008-2015, Gilles Caulier, <caulier dot gilles at gmail dot com>
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
# We will work on command line using GNU Make
export MAKEFILES_TYPE='Unix Makefiles'
if [ ! -d "build.cmake" ]; then
mkdir build.cmake
fi
cd build.cmake
cmake -G "$MAKEFILES_TYPE" . \
-DCMAKE_BUILD_TYPE=debugfull \
-DCMAKE_INSTALL_PREFIX=/usr \
-DEXIV2_ENABLE_SHARED=ON \
-DEXIV2_ENABLE_XMP=ON \
-DEXIV2_ENABLE_LIBXMP=ON \
-DEXIV2_ENABLE_VIDEO=ON \
-DEXIV2_ENABLE_PNG=ON \
-DEXIV2_ENABLE_NLS=ON \
-DEXIV2_ENABLE_PRINTUCS2=ON \
-DEXIV2_ENABLE_LENSDATA=ON \
-DEXIV2_ENABLE_COMMERCIAL=OFF \
-DEXIV2_ENABLE_BUILD_SAMPLES=ON \
-DEXIV2_ENABLE_BUILD_PO=ON \
-DEXIV2_ENABLE_VIDEO=ON \
-DEXIV2_ENABLE_WEBREADY=ON \
-DEXIV2_ENABLE_CURL=ON \
-DEXIV2_ENABLE_SSH=ON \
-Wno-dev \
..