include_directories(
  ${OMNIORB4_INCLUDE_DIR}
  ${PROJECT_SOURCE_DIR}/src/utils         # For e.g. ORBTools.hh
  ${PROJECT_BINARY_DIR}/src/idl
)

add_library(LogServiceToolBase LogToolBase.cc)
add_dependencies(LogServiceToolBase
  LOGSERVICE_TARGET_IDL_GENERATED_HEADER_FILES
)
set_target_properties(LogServiceToolBase PROPERTIES VERSION ${LOGSERVICE_VERSION})
target_link_libraries(LogServiceToolBase
  LogForwarderUtils
  ${OMNIORB4_LIBRARIES}
)
install(TARGETS LogServiceToolBase DESTINATION ${LIB_INSTALL_DIR})
install(FILES LogToolBase.hh DESTINATION ${INCLUDE_INSTALL_DIR})
include(CPack)