diff --git a/CMakeLists.txt b/CMakeLists.txt index 176d5ae..d5218fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,66 +1,66 @@ ################################################################################ # STD Definitions ################################################################################ project(libsbcp C CXX) cmake_minimum_required(VERSION 2.8) find_package(BiorobCMakeUtils REQUIRED 0.3.0) include_all_biorob_cmake_utils() make_std_versionning(MAJOR 0 MINOR 4 - PATCH 0~dev1) + PATCH 0~rc1) ################################################################################ # Dependencies ################################################################################ set(PKG_CONFIG_DEPS sbcpd-0>=0.3.0 biorob-cpp-0.3>=0.3.0) find_package(PkgConfig REQUIRED) pkg_check_modules(DEPENDENCIES ${PKG_CONFIG_DEPS} REQUIRED) set(PKG_CONFIG_DEPS "sbcpd-0 biorob-cpp-0.3") include_directories(${PROJECT_SOURCE_DIR}/src ${DEPENDENCIES_INCLUDE_DIRS}) ################################################################################ # UNIT TESTING ################################################################################ find_package(GTest) if(GTEST_FOUND) enable_testing() enable_make_check() endif(GTEST_FOUND) ################################################################################ # INSTALLATION configuration ################################################################################ set(LIBSBCP_INCLUDE_DIR include/libsbcp-${VERSION_API}) ################################################################################ # PkgConfig stuff ################################################################################ set(PKG_CONFIG_PC_FILE libsbcp-${VERSION_MAJOR}.pc) configure_file(libsbcp.pc.in ${PKG_CONFIG_PC_FILE} @ONLY) install(FILES ${PROJECT_BINARY_DIR}/${PKG_CONFIG_PC_FILE} DESTINATION lib/pkgconfig) ################################################################################ # Sources exploration ################################################################################ add_subdirectory(src) add_subdirectory(examples) find_package(Doxygen) if(DOXYGEN_FOUND) add_subdirectory(doc) endif(DOXYGEN_FOUND) add_subdirectory(man)