6 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/${PROJECT_NAME}/include)
7 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/libdabba/include)
8 INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/dabbad/include)
11 CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile @ONLY)
12 ADD_CUSTOM_TARGET(${PROJECT_NAME}-doc ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR})
13 ADD_DEPENDENCIES(doc ${PROJECT_NAME}-doc)
16 ADD_EXECUTABLE(${PROJECT_NAME} dabba.c help.c interface.c ipc.c capture.c)
18 TARGET_LINK_LIBRARIES(${PROJECT_NAME} libdabba)
20 POD2MAN(${CMAKE_CURRENT_SOURCE_DIR}/dabba.c dabba 1)
21 POD2MAN(${CMAKE_CURRENT_SOURCE_DIR}/interface.c dabba-interface 1)
22 POD2MAN(${CMAKE_CURRENT_SOURCE_DIR}/capture.c dabba-capture 1)
24 INSTALL(TARGETS dabba DESTINATION sbin COMPONENT applications)
26 ADD_SUBDIRECTORY(test)