Below is the file 'CMakeLists.txt' from this revision. You can also download the file.
project (fritz.it)
find_library (LIB_RT rt)
find_library (LIB_DL dl)
add_executable (fritz_server fritz.cc fritz_server.cc)
IF (LIB_RT)
target_link_libraries (fritz_server ${LIB_RT} dl)
ENDIF (LIB_RT)
IF (LIB_DL)
target_link_libraries (fritz_server ${LIB_DL} dl)
ENDIF (LIB_DL)
add_library (fritz_client SHARED fritz_client.cc fritz.cc)
IF (LIB_RT)
target_link_libraries (fritz_client ${LIB_RT} dl)
ENDIF (LIB_RT)
IF (LIB_DL)
target_link_libraries (fritz_client ${LIB_DL} dl)
ENDIF (LIB_DL)
add_executable (fritz_this fritz_this.cc)
add_executable (tokens_test tokens_test.cc)
add_executable (test test.cc)