Skip to content
Open
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: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@ target_link_libraries(${PROJECT_NAME}
PUBLIC $<$<NOT:$<BOOL:${WIN32}>>:m>)

set_target_properties(${PROJECT_NAME} PROPERTIES
C_STANDARD 11
C_STANDARD_REQUIRED ON
POSITION_INDEPENDENT_CODE ON
SOVERSION ${PROJECT_VERSION_MAJOR}
VERSION ${PROJECT_VERSION})
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ A library of various helper routines and frameworks used by many of the lab's
software

## Build requirements
- C compiler, C11 compliant
- CMake 3.10, found at http://www.cmake.org/, as well as GNU make.

Assuming that the above are available, two commands should suffice to
Expand Down
3 changes: 3 additions & 0 deletions apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ set(GKLIB_PROGRAMS strings gksort fis gkrw gkgraph csrcnv grKx m2mnbrs cmpnbrs
foreach(prog ${GKLIB_PROGRAMS})
add_executable(${prog} ${prog}.c)
target_link_libraries(${prog} GKlib::GKlib)
set_target_properties(${prog} PROPERTIES
C_STANDARD 11
C_STANDARD_REQUIRED ON)
endforeach()

# install executables
Expand Down