Mercurial > hgweb.cgi > pecunia
changeset 173:fab75d473154
Bumped the minimum required version of CMake to match that of Debian stable.
Bumped the minimum required version of Qt to match that of Debian.
Added the declarations to the CMake target creation for those IDEs that don't pick it up.
Added project description for the library.
author | John Schneiderman <JohnMS@member.fsf.org> |
---|---|
date | Mon, 25 Jan 2021 16:27:16 +0100 |
parents | 29d5cccadc9e |
children | dbad0c830a9b |
files | CMakeLists.txt ChangeLog INSTALL src/CMakeLists.txt src/unit-tests/CMakeLists.txt |
diffstat | 5 files changed, 9 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/CMakeLists.txt Thu Jan 21 19:27:05 2021 +0100 +++ b/CMakeLists.txt Mon Jan 25 16:27:16 2021 +0100 @@ -17,9 +17,10 @@ #** You should have received a copy of the GNU Lesser General Public License*** #** along with this program. If not, see <http://www.gnu.org/licenses/>. *** #******************************************************************************* -cmake_minimum_required (VERSION 3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.13 FATAL_ERROR) project(Pecunia VERSION 0.5.0 + DESCRIPTION "Library for working with currencies using ISO-4217 standard and a fixed unit size." LANGUAGES CXX )
--- a/ChangeLog Thu Jan 21 19:27:05 2021 +0100 +++ b/ChangeLog Mon Jan 25 16:27:16 2021 +0100 @@ -30,6 +30,7 @@ * Development: Individual unit-tests now be debugged via Visual Studio by default. * Development: Made the default locale configurable from within CMake. * Development: Scripts for automating package creation. + * Development: Updated all libraries to match the lowest supported target, Debian stable. 2020-12-07 John Schneiderman <JohnMS_AT_member_DOT_fsf_DOT_org> 0.4.2 * Bug Fix: incorrect linkage declaration on Windows. 2020-12-07 John Schneiderman <JohnMS_AT_member_DOT_fsf_DOT_org> 0.4.1
--- a/INSTALL Thu Jan 21 19:27:05 2021 +0100 +++ b/INSTALL Mon Jan 25 16:27:16 2021 +0100 @@ -25,12 +25,12 @@ - Source: Any, http://gcc.gnu.org/ 1) CMake - - Version: 3.0+ + - Version: 3.13+ - Source: http://www.cmake.org 2) Qt (Optional) - Only needed when developing unit tests for the library. - - Version: 5.4+ + - Version: 5.11+ - Source: http://www.qt.io/ 3) Conan (Optional)
--- a/src/CMakeLists.txt Thu Jan 21 19:27:05 2021 +0100 +++ b/src/CMakeLists.txt Mon Jan 25 16:27:16 2021 +0100 @@ -17,7 +17,7 @@ #** You should have received a copy of the GNU Lesser General Public License*** #** along with this program. If not, see <http://www.gnu.org/licenses/>. *** #******************************************************************************* -cmake_minimum_required (VERSION 3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.13 FATAL_ERROR) project( pecunia VERSION ${Pecunia_VERSION} @@ -76,6 +76,8 @@ ${Pecunia_LIBRARY_TYPE} ${${PROJECT_NAME}_PUBLIC_DEFINITIONS} ${${PROJECT_NAME}_PRIVATE_DEFINITIONS} + ${${PROJECT_NAME}_PUBLIC_DECLARATIONS} + ${${PROJECT_NAME}_PRIVATE_DECLARATIONS} ) target_include_directories(${PROJECT_NAME} PUBLIC
--- a/src/unit-tests/CMakeLists.txt Thu Jan 21 19:27:05 2021 +0100 +++ b/src/unit-tests/CMakeLists.txt Mon Jan 25 16:27:16 2021 +0100 @@ -17,7 +17,7 @@ #** You should have received a copy of the GNU Lesser General Public License*** #** along with this program. If not, see <http://www.gnu.org/licenses/>. *** #******************************************************************************* -cmake_minimum_required (VERSION 3.0 FATAL_ERROR) +cmake_minimum_required(VERSION 3.13 FATAL_ERROR) project(pecunia-unit-tests) set(CMAKE_INCLUDE_CURRENT_DIR ON)