Mercurial > hg > freeDiameter
view freeDiameterd/CMakeLists.txt @ 1260:4f6f61e67599
Store redirect information for ALL_SESSION and ALL_USER in a hash.
This is a speedup if many of these exist (compared to checking a
linked list for matches as before).
Refactor a bit while here.
Use the uthash code from Troy D. Hanson,
http://troydhanson.github.com/uthash/
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Mon, 24 Mar 2014 13:21:41 +0100 |
parents | fdce8d4575b7 |
children |
line wrap: on
line source
# The subproject name Project("freeDiameter simple daemon" C) # Since it uses the libfdcore.h, it needs the include dependencies INCLUDE_DIRECTORIES(${LFDCORE_INCLUDES}) # Build the executable ADD_EXECUTABLE(freeDiameterd main.c) # The version SET_TARGET_PROPERTIES(freeDiameterd PROPERTIES VERSION ${FD_PROJECT_VERSION_MAJOR}.${FD_PROJECT_VERSION_MINOR}.${FD_PROJECT_VERSION_REV}) # The link command TARGET_LINK_LIBRARIES(freeDiameterd libfdproto libfdcore ${GNUTLS_LIBRARIES}) #### ## INSTALL section ## INSTALL(TARGETS freeDiameterd RUNTIME DESTINATION ${INSTALL_DAEMON_SUFFIX} COMPONENT freeDiameter-daemon)