Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ project(
LANGUAGES
C
Fortran
VERSION "1.4.3"
VERSION "1.4.4"
)
set(CMAKE_Fortran_STANDARD 2018)
set(CMAKE_Fortran_STANDARD_REQUIRED TRUE)
Expand Down
2 changes: 1 addition & 1 deletion doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ <h3>Derived Types</h3>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-08-04 11:25 </p>
on 2025-08-05 12:19 </p>
</div>
</div>
<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/interface/error_callback.html
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ <h3>Description</h3>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-08-04 11:25 </p>
on 2025-08-05 12:19 </p>
</div>
</div>
<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/lists/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ <h1>Modules</h1>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-08-04 11:25 </p>
on 2025-08-05 12:19 </p>
</div>
</div>
<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/lists/procedures.html
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ <h1>Procedures</h1>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-08-04 11:25 </p>
on 2025-08-05 12:19 </p>
</div>
</div>
<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/lists/types.html
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ <h1>Derived Types</h1>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-08-04 11:25 </p>
on 2025-08-05 12:19 </p>
</div>
</div>
<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/module/ferror.html
Original file line number Diff line number Diff line change
Expand Up @@ -571,7 +571,7 @@ <h4>Type-Bound Procedures</h4>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-08-04 11:25 </p>
on 2025-08-05 12:19 </p>
</div>
</div>
<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/search.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ <h1>Search Results</h1>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-08-04 11:25 </p>
on 2025-08-05 12:19 </p>
</div>
</div>
<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/sourcefile/ferror.f90.html
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ <h2><span class="anchor" id="src"></span>Source Code</h2>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-08-04 11:25 </p>
on 2025-08-05 12:19 </p>
</div>
</div>
<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/type/errors.html
Original file line number Diff line number Diff line change
Expand Up @@ -1487,7 +1487,7 @@ <h4>Arguments</h4>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-08-04 11:25 </p>
on 2025-08-05 12:19 </p>
</div>
</div>
<br>
Expand Down
13 changes: 12 additions & 1 deletion examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,15 @@ target_link_libraries(ferror_example_1c ferror)

# Example 2 - C API
add_executable(ferror_example_2c ferror_example_2c.c)
target_link_libraries(ferror_example_2c ferror)
target_link_libraries(ferror_example_2c ferror)

# Shared Library?
if (${BUILD_SHARED_LIBS})
add_custom_command(
TARGET ferror_test
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E copy
$<TARGET_FILE:ferror>
${CMAKE_BINARY_DIR}/test
)
endif()
2 changes: 1 addition & 1 deletion fpm.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name = "ferror"
version = "1.4.3"
version = "1.4.4"
license = "GPL-3.0"
author = "Jason Christopherson"
maintainer = "Jason Christopherson"
Expand Down
26 changes: 14 additions & 12 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -37,21 +37,23 @@ target_include_directories(
$<INSTALL_INTERFACE:${CMAKE_INSTALL_MODULEDIR}>
)

install(
FILES "${PROJECT_SOURCE_DIR}/include/ferror.h"
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
target_include_directories(
${PROJECT_NAME} PUBLIC
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)
if (${BUILD_FERROR_C_API})
install(
FILES ${ferror_SOURCE_DIR}/include/ferror.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
)
target_include_directories(
${PROJECT_NAME} PUBLIC
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
)
endif()

install(
TARGETS ${PROJECT_NAME}
EXPORT ${PROJECT_NAME}-targets
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
ARCHIVE DESTINATION "${CMAKE_INSTALL_LIBDIR}"
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}"
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
)
install(DIRECTORY ${FERROR_MOD_DIR} DESTINATION "${CMAKE_INSTALL_MODULEDIR}")
Loading