diff options
author | Sander Vrijders <[email protected]> | 2016-08-03 13:25:12 +0200 |
---|---|---|
committer | Sander Vrijders <[email protected]> | 2016-08-03 13:25:12 +0200 |
commit | 44b55f0b03ffc6aff4f1c290b5687d5ac95ddbf9 (patch) | |
tree | 6e80ca15368a75908ba4053ceb07c25269ae786c /src/tools/oping/CMakeLists.txt | |
parent | d409fd569683d8f0e8c8f65d4820087dbf7c0786 (diff) | |
parent | ca494922f3815077efbcd28da3748df38c8a6961 (diff) | |
download | ouroboros-44b55f0b03ffc6aff4f1c290b5687d5ac95ddbf9.tar.gz ouroboros-44b55f0b03ffc6aff4f1c290b5687d5ac95ddbf9.zip |
Merged in dstaesse/ouroboros/be-select (pull request #184)
select() like call
Diffstat (limited to 'src/tools/oping/CMakeLists.txt')
-rw-r--r-- | src/tools/oping/CMakeLists.txt | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/tools/oping/CMakeLists.txt b/src/tools/oping/CMakeLists.txt new file mode 100644 index 00000000..a8fc7d86 --- /dev/null +++ b/src/tools/oping/CMakeLists.txt @@ -0,0 +1,21 @@ +include_directories(${CMAKE_CURRENT_SOURCE_DIR}) +include_directories(${CMAKE_CURRENT_BINARY_DIR}) + +include_directories(${CMAKE_SOURCE_DIR}/include) +include_directories(${CMAKE_BINARY_DIR}/include) + +find_library(LIBM_LIBRARIES m) +if(NOT LIBM_LIBRARIES) + message(FATAL_ERROR "libm not found") +endif() + +set(SOURCE_FILES + # Add source files here + oping.c +) + +add_executable(oping ${SOURCE_FILES}) + +target_link_libraries(oping LINK_PUBLIC ${LIBM_LIBRARIES} ouroboros) + +install(TARGETS oping RUNTIME DESTINATION usr/bin) |