Rewrite to use utils.c from ponymap

I'm starting to get tired of repeatingly doing this.
This commit is contained in:
2015-02-22 10:54:49 +01:00
parent 0f2a66e7b0
commit 66cf41f89f
6 changed files with 1365 additions and 283 deletions

View File

@@ -26,8 +26,12 @@ find_package (LibEV REQUIRED)
include_directories (${dependencies_INCLUDE_DIRS} ${LIBEV_INCLUDE_DIRS})
# Generate a configuration file
configure_file (${PROJECT_SOURCE_DIR}/config.h.in ${PROJECT_BINARY_DIR}/config.h)
include_directories (${PROJECT_BINARY_DIR})
# Build the main executable and link it
add_executable (${PROJECT_NAME} ${PROJECT_NAME}.c)
add_executable (${PROJECT_NAME} ${PROJECT_NAME}.c siphash.c)
target_link_libraries (${PROJECT_NAME}
${dependencies_LIBRARIES} ${LIBEV_LIBRARIES} readline)