[SCM] exiv2 packaging branch, master, updated. debian/0.25-3.1-3734-gdcbc29a
Maximiliano Curia
maxy at moszumanska.debian.org
Thu Jul 13 17:41:24 UTC 2017
Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/exiv2.git;a=commitdiff;h=6d91717
The following commit has been merged in the master branch:
commit 6d917175b4e692f236112f3eecf9e046953f333f
Author: HumanDynamo <caulier.gilles at gmail.com>
Date: Tue Apr 20 12:18:09 2010 +0000
polish
---
samples/CMakeLists.txt | 44 +++++++++++++++++++++++---------------------
1 file changed, 23 insertions(+), 21 deletions(-)
diff --git a/samples/CMakeLists.txt b/samples/CMakeLists.txt
index 8b75ed3..74c3396 100644
--- a/samples/CMakeLists.txt
+++ b/samples/CMakeLists.txt
@@ -1,5 +1,6 @@
# CMake build system for exiv2 library and executables
# Copyright 2008 by Patrick Spendrin <ps_ml at gmx.de>
+# Copyright 2010 by Gilles Caulier <caulier dot gilles at gmail dot com>
#
# Redistribution and use in source and binary forms, with or without
# modification, are permitted provided that the following conditions
@@ -28,25 +29,26 @@
# IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-set( SAMPLES addmoddel.cpp
- exifcomment.cpp
- exifdata-test.cpp
- exifprint.cpp
- iotest.cpp
- iptceasy.cpp
- iptcprint.cpp
- iptctest.cpp
- key-test.cpp
- largeiptc-test.cpp
- write-test.cpp
- write2-test.cpp
- xmpparse.cpp
- xmpparser-test.cpp
- xmpsample.cpp )
+SET( SAMPLES addmoddel.cpp
+ exifcomment.cpp
+ exifdata-test.cpp
+ exifprint.cpp
+ iotest.cpp
+ iptceasy.cpp
+ iptcprint.cpp
+ iptctest.cpp
+ key-test.cpp
+ largeiptc-test.cpp
+ write-test.cpp
+ write2-test.cpp
+ xmpparse.cpp
+ xmpparser-test.cpp
+ xmpsample.cpp
+ )
-foreach(entry ${SAMPLES})
-STRING( REPLACE ".cpp" "" target ${entry})
-add_executable( ${target} ${target}.cpp )
-add_test( ${target}_test ${target} )
-target_link_libraries(${target} exiv2 )
-endforeach(entry ${SAMPLES})
+FOREACH(entry ${SAMPLES})
+ STRING( REPLACE ".cpp" "" target ${entry})
+ ADD_EXECUTABLE( ${target} ${target}.cpp )
+ ADD_TEST( ${target}_test ${target} )
+ TARGET_LINK_LIBRARIES( ${target} exiv2 )
+ENDFOREACH(entry ${SAMPLES})
--
exiv2 packaging
More information about the pkg-kde-commits
mailing list