[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:45:54 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=ba91a46
The following commit has been merged in the master branch:
commit ba91a468ebba37db7fc64dcfbcad6f5c6d2e69f9
Author: Robin Mills <robin at clanmills.com>
Date: Wed Nov 18 15:46:49 2015 +0000
#1041: Tested/fixed the manual build instructions in ReadMe.txt
---
contrib/cmake/msvc/ReadMe.txt | 33 ++++++++++++++++++---------------
1 file changed, 18 insertions(+), 15 deletions(-)
diff --git a/contrib/cmake/msvc/ReadMe.txt b/contrib/cmake/msvc/ReadMe.txt
index 3135412..a988cd9 100755
--- a/contrib/cmake/msvc/ReadMe.txt
+++ b/contrib/cmake/msvc/ReadMe.txt
@@ -7,7 +7,7 @@ They are derived from Daniels contrib/build scripts.
How to use this
---------------
-1 Ensure that build.cmd and setenv.cmd are on your path (eg the build directory)
+1 Ensure that build.cmd and setenv.cmd are on your path (eg your build directory)
2 Your machine setup:
You need cmake.exe and svn.exe on your PATH.
@@ -20,9 +20,6 @@ How to use this
call "C:\Program Files (x86)\Microsoft Visual Studio 8\VCin
cvars32.bat"
- The cmake option -G Generator should be chosen for the version of Visual Studio installed.
- cmake --help for more information
-
3 Always build "out of source". I recommend:
cd <exiv2dir>
mkdir ..uild
@@ -54,25 +51,31 @@ How to use this
build\dist\include contains *.h and *.hpp files
5 Building manually with CMake
+ The cmake option -G Generator should be chosen for the version of Visual Studio installed.
+ cmake --help for more information
+
+ I personally always build/test with Visual Studio 2005 in 64 bits.
+ The generator is: "Visual Studio 8 2005 Win64"
+
cd <exiv2dir>
mkdir ../build
cd ../build
rem download support libraries
- svn export svn:/dev.exiv2.org/team/libraries/zlib-1.2.8
- svn export svn:/dev.exiv2.org/team/libraries/expat-2.1.0
+ svn export svn://dev.exiv2.org/svn/team/libraries/zlib-1.2.8
+ svn export svn://dev.exiv2.org/svn/team/libraries/expat-2.1.0
... for webready, you also need libssh-0.5.5 curl-7.39.0 openssl-1.0.1j ...
rem create a temp directory and a dist (distribution) directory
- mkdir temp
- mkdir dist
+ mkdir temp # build, compile and link in this directory
+ mkdir dist # the output artifacts are stored here
rem build zlib-1.2.8
mkdir temp\zlib-1.2.8
cd temp\zlib-1.2.8
- cmake -G "Visual Studio 8 2005 Win64" -DCMAKE_INSTALL_PREFIX=..\..dist ..\..\zlib-1.2.8
- cmake --build . --config Release # TAKE CARE with expat-2.1.0 use: cmake --build . --config Release --target expat
- cmake --build . --target install --config Release
+ cmake -G "Visual Studio 8 2005 Win64" "-DCMAKE_INSTALL_PREFIX=..\..dist" ..\..\zlib-1.2.8
+ cmake --build . # TAKE CARE with expat-2.1.0 use: cmake --build . --target expat
+ cmake --build . --target install
cd ..\..
rem build expat-2.1.0 and other required libraries
@@ -80,10 +83,10 @@ How to use this
rem build exiv2
mkdir temp\exiv2
cd temp\exiv2
- cmake -G "Visual Studio 8 2005 Win64" -DCMAKE_INSTALL_PREFIX=..\..\dist ^
- -DCMAKE_LIBRARY_PATH=..\..\dist\lib -DCMAKE_INCLUDE_PATH=..\..\dist\include ^
- -DEXIV2_ENABLE_SHARED=ON
- ..\..\..\<exiv2dir>
+ cmake -G "Visual Studio 8 2005 Win64" "-DCMAKE_INSTALL_PREFIX=..\..\dist" ^
+ "-DCMAKE_LIBRARY_PATH=..\..\dist\lib" "-DCMAKE_INCLUDE_PATH=..\..\dist\include" ^
+ -DEXIV2_ENABLE_SHARED=ON ^
+ ..\..\..\<exiv2dir>
cmake --build . --config Release
cmake --build . --config Release --target install
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list