
include_directories(
    ${CMAKE_SOURCE_DIR}/src
)

add_executable(confctl confctl.cpp)
target_link_libraries(confctl confplus)

install(TARGETS confctl DESTINATION ${CMAKE_INSTALL_BINDIR})

install(FILES
    ${CMAKE_SOURCE_DIR}/src/backend.h
    ${CMAKE_SOURCE_DIR}/src/conf.h
    ${CMAKE_SOURCE_DIR}/src/exception.h
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/confplus )
