From a14ab31215e4c60fe79f6083f29f507d48c892f5 Mon Sep 17 00:00:00 2001 From: jchristopherson Date: Fri, 15 Sep 2017 21:08:58 -0500 Subject: [PATCH] Updated version info --- CMakeLists.txt | 12 +++++------- doc/Doxyfile | 2 +- src/ferror.f90 | 2 +- 3 files changed, 7 insertions(+), 9 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8a01dfc..7202996 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -5,7 +5,7 @@ project(ferror C CXX Fortran) # Define version information set(linalg_VERSION_MAJOR 1) set(linalg_VERSION_MINOR 2) -set(linalg_VERSION_PATCH 2) +set(linalg_VERSION_PATCH 3) # Define output directories, if undefined if (NOT CMAKE_LIBRARY_OUTPUT_DIRECTORY) @@ -58,7 +58,7 @@ get_filename_component (Fortran_COMPILER_NAME ${CMAKE_Fortran_COMPILER} NAME) if (Fortran_COMPILER_NAME MATCHES "gfortran.*") # gfortran # Options: https://gcc.gnu.org/onlinedocs/gfortran/Option-Summary.html - set (CMAKE_Fortran_FLAGS_RELEASE "-funroll-all-loops -fno-f2c -O3") + set (CMAKE_Fortran_FLAGS_RELEASE "-funroll-all-loops -fno-f2c -O1") set (CMAKE_Fortran_FLAGS_DEBUG "-fno-f2c -O0 -g -Wall") elseif (Fortran_COMPILER_NAME MATCHES "ifort.*") # ifort (untested) @@ -103,8 +103,6 @@ include_directories(${PROJECT_SOURCE_DIR}/include) set(c_test_source test/ferror_test_c.c) add_executable(ferror_test_c ${c_test_source}) target_link_libraries(ferror_test_c ferror) -if (CMAKE_BUILD_TYPE MATCHES Debug) - add_custom_command(OUTPUT c_api_test DEPENDS ${c_test_source} - COMMAND ferror_test_c) - add_custom_target(run_c_api_test ALL DEPENDS c_api_test) -endif() +add_custom_command(OUTPUT c_api_test DEPENDS ${c_test_source} + COMMAND ferror_test_c) +add_custom_target(run_c_api_test ALL DEPENDS c_api_test) diff --git a/doc/Doxyfile b/doc/Doxyfile index ad074a3..6a9767b 100644 --- a/doc/Doxyfile +++ b/doc/Doxyfile @@ -38,7 +38,7 @@ PROJECT_NAME = ferror # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = 1.2.2 +PROJECT_NUMBER = 1.2.3 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a diff --git a/src/ferror.f90 b/src/ferror.f90 index e4f6559..388428a 100644 --- a/src/ferror.f90 +++ b/src/ferror.f90 @@ -6,7 +6,7 @@ !! FERROR is a library to assist with error handling in Fortran projects. !! !! @author Jason Christopherson -!! @version 1.2.2 +!! @version 1.2.3 !> @brief \b ferror !!