Skip to content

Commit

Permalink
Updated version info
Browse files Browse the repository at this point in the history
  • Loading branch information
jchristopherson committed Sep 16, 2017
1 parent b84802e commit a14ab31
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 9 deletions.
12 changes: 5 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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)
Expand Down Expand Up @@ -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)
2 changes: 1 addition & 1 deletion doc/Doxyfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/ferror.f90
Original file line number Diff line number Diff line change
Expand Up @@ -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
!!
Expand Down

0 comments on commit a14ab31

Please sign in to comment.