Skip to content

Commit

Permalink
Make minor cosmetic changes (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
aradi authored Mar 3, 2024
1 parent 02aa61c commit f181873
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 31 deletions.
21 changes: 0 additions & 21 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -54,31 +54,10 @@ endif ()
fortuno_setup_build_type("RelWithDebInfo")
set(BUILD_SHARED_LIBS ${FORTUNO_BUILD_SHARED_LIBS})

# Report configuration
feature_summary(
FILENAME ${CMAKE_CURRENT_BINARY_DIR}/Fortuno.info
VAR Fortuno_Info
DESCRIPTION "Fortuno features and external libraries"
FATAL_ON_MISSING_REQUIRED_PACKAGES
WHAT ALL
)
message(STATUS ${Fortuno_Info})

#[=================================================================================================[
# Main definition #
]=================================================================================================]

add_library(Fortuno)
set_target_properties(
Fortuno PROPERTIES
VERSION ${PROJECT_VERSION}
# SOVERSION ${PROJECT_VERSION_MAJOR}
SOVERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
EXPORT_NAME Fortuno
OUTPUT_NAME fortuno
)
add_library(Fortuno::Fortuno ALIAS Fortuno)

add_subdirectory(src)
if (FORTUNO_BUILD_EXAMPLES)
add_subdirectory(example)
Expand Down
15 changes: 6 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,10 @@ Fortuno – extensible unit testing framework for Fortran

The **Fortuno** (Fortran Unit Testing Objects) project offers a flexible,
extensible, object oriented unit testing framework for the Fortran language. It
puts strong emphasis on the simplicity of the user interface (minimizing the
amount of boiler plate code when writing unit tests) as well as to modularity
and extensibility (offering building blocks for customized unit testing
systems.)

It is written in Fortran 2018 and can be directly used without a need for a
special pre-processor.
puts strong emphasis on the simplicity of the user interface by minimizing the
amount of boiler plate code when writing unit tests, as well as to modularity
and extensibility by offering building blocks for customized unit testing
systems.

**Fortuno** provides

Expand Down Expand Up @@ -255,7 +252,7 @@ License
=======

Fortuno is licensed under the `BSD-2-Clause Plus Patent License <LICENSE>`_.
(This `OSI-approved <https://opensource.org/licenses/BSDplusPatent>`_ license
This `OSI-approved <https://opensource.org/licenses/BSDplusPatent>`_ license
combines the 2-clause BSD license with an explicit patent grant from
contributors.) The SPDX license identifier for this project is
contributors. The SPDX license identifier for this project is
`BSD-2-Clause-Patent <https://spdx.org/licenses/BSD-2-Clause-Patent.html>`_.
2 changes: 1 addition & 1 deletion cmake/fortuno.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ Name: @PROJECT_NAME@
Description: @PROJECT_DESCRIPTION@
Version: @PROJECT_VERSION@

Libs: -L@CMAKE_INSTALL_FULL_LIBDIR@ -lfortuno
Cflags: -I@CMAKE_INSTALL_FULL_LIBDIR@/@FORTUNO_INSTALL_MODULEDIR@
Libs: -L@CMAKE_INSTALL_FULL_LIBDIR@ -lfortuno
11 changes: 11 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@
# Licensed under the BSD-2-Clause Plus Patent license.
# SPDX-License-Identifier: BSD-2-Clause-Patent

add_library(Fortuno)
set_target_properties(
Fortuno PROPERTIES
VERSION ${PROJECT_VERSION}
# SOVERSION ${PROJECT_VERSION_MAJOR}
SOVERSION ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}
EXPORT_NAME Fortuno
OUTPUT_NAME fortuno
)
add_library(Fortuno::Fortuno ALIAS Fortuno)

target_sources(
Fortuno PRIVATE
fortuno.f90
Expand Down

0 comments on commit f181873

Please sign in to comment.