summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Mi <codeminister@publicstatic.de>2014-01-19 22:59:51 (GMT)
committerGregor Mi <codeminister@publicstatic.de>2014-01-19 22:59:51 (GMT)
commitd6f576adcb836cf62e328f34a1181255e1697a91 (patch)
treec9a1d6e69cf1eeb96a618363a988dfa3daaf983d
parent57d41a52e78e15becb51dbedd01c6cead2c057dc (diff)
add more from frameworks_template
-rw-r--r--KF5SaneConfig.cmake.in9
-rw-r--r--KSaneConfig.cmake.in.old (renamed from KSaneConfig.cmake.in)0
-rw-r--r--README.md (renamed from README)16
-rw-r--r--ksane.yaml1
-rw-r--r--tests/CMakeLists.txt15
5 files changed, 35 insertions, 6 deletions
diff --git a/KF5SaneConfig.cmake.in b/KF5SaneConfig.cmake.in
new file mode 100644
index 0000000..8856b13
--- /dev/null
+++ b/KF5SaneConfig.cmake.in
@@ -0,0 +1,9 @@
+@PACKAGE_INIT@
+
+# Required components to use this framework
+# For example:
+# find_dependency(Qt5Widgets "@REQUIRED_QT_VERSION@")
+# find_dependency(KF5CoreAddons "@KF5_VERSION@")
+
+include("${CMAKE_CURRENT_LIST_DIR}/KF5SaneTargets.cmake")
+
diff --git a/KSaneConfig.cmake.in b/KSaneConfig.cmake.in.old
index 24075b3..24075b3 100644
--- a/KSaneConfig.cmake.in
+++ b/KSaneConfig.cmake.in.old
diff --git a/README b/README.md
index 6ba33d0..d76017c 100644
--- a/README
+++ b/README.md
@@ -1,12 +1,16 @@
+# KSane
+
+## Introduction
+
SANE Library interface for KDE
This library is a part of Kipi-Plugins project (http://www.digikam.org)
--- AUTHORS ------------------------------------------------------------
+## Authors
See AUTHORS file for details.
--- ABOUT --------------------------------------------------------------
+## About
Libksane is a KDE interface for SANE library to control flat scanners.
@@ -14,14 +18,14 @@ This library is used by kipi-plugins, digiKam and others kipi host programs.
The library documentation is available on header files.
--- DEPENDENCIES -------------------------------------------------------
+## Dependencies
CMake >= 2.4.x http://www.cmake.org
libqt >= 4.2.x http://www.qtsoftware.com
libkde >= 4.0.x http://www.kde.org
libsane >= 1.0.18 http://www.sane-project.org
--- INSTALL ------------------------------------------------------------
+## Install
In order to compile, especially when QT3/Qt4 are installed at the same time,
just use something like that:
@@ -48,7 +52,7 @@ Note: To know KDE install path on your computer, use 'kde-config --prefix' comma
"cmake . -DCMAKE_BUILD_TYPE=debugfull -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`"
--- CONTACT ------------------------------------------------------------
+## Contact
If you have questions, comments, suggestions to make do email at:
@@ -58,7 +62,7 @@ IRC channel from freenode.net server:
#kde-imaging
--- BUGS ---------------------------------------------------------------
+## Bugs
IMPORTANT : the bugreports and wishlist are hosted by the KDE bugs report
system who can be contacted by the standard Kde help menu of plugins dialog.
diff --git a/ksane.yaml b/ksane.yaml
new file mode 100644
index 0000000..547702f
--- /dev/null
+++ b/ksane.yaml
@@ -0,0 +1 @@
+tier: "unknown"
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
new file mode 100644
index 0000000..62f84c5
--- /dev/null
+++ b/tests/CMakeLists.txt
@@ -0,0 +1,15 @@
+find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Test)
+
+include(ECMMarkAsTest)
+
+macro(ksane_executable_tests)
+ foreach(_testname ${ARGN})
+ add_executable(${_testname} ${_testname}.cpp)
+ target_link_libraries(${_testname} Qt5::Test KF5Sane)
+ ecm_mark_as_test(${_testname})
+ endforeach(_testname)
+endmacro()
+
+#ksane_executable_tests(
+# anothertest
+#)