PROJECT(Plot) set(LIBRARY_OUTPUT_PATH ${PLUGIN_OUTPUT_PATH}) # sub directories of Plot... add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/CurveFunction) add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/Time) add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/ParamPlot) add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/InstantPlot) add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/Scatter) add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/Ascii) add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/DecoratorPlot) add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/TickPlot) add_subdirectory(${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/StatusPlot) include_directories( ${CMAKE_HOME_DIRECTORY}/src/ParamOutputImpl/Plot/ ${PLOT_TIME_INCLUDES} ${PLOT_EPOCH_INCLUDES} ${PLOT_DECORATOR_INCLUDES} ${PLOT_STATUSPLOT_INCLUDES} ${PLOT_TICKPLOT_INCLUDES} ${PLOT_PARAM_INCLUDES} ${PLOT_INSTANT_INCLUDES} ${PLOT_SCATTER_INCLUDES} ${PLOT_ASCII_INCLUDES} ${CMAKE_HOME_DIRECTORY}/src/helpers/ ${CMAKE_HOME_DIRECTORY}/src/Common/ ${CMAKE_HOME_DIRECTORY}/src/Info/ ${CMAKE_HOME_DIRECTORY}/src/InternLib/ ${CMAKE_HOME_DIRECTORY}/src/Parameters/ ${CMAKE_HOME_DIRECTORY}/src/PostProcessing/ ${CMAKE_HOME_DIRECTORY}/src/XMLConfigurator/ ${CMAKE_HOME_DIRECTORY}/src/XMLRequest/ ${CMAKE_HOME_DIRECTORY}/src/Plugins/ ${CMAKE_HOME_DIRECTORY}/src/DD_Client_r_Lib/ ${CMAKE_HOME_DIRECTORY}/src/TimeTableCatalog/ ${CMAKE_HOME_DIRECTORY}/src/Info/ ${LIBXML2_INCLUDE_DIR} ${LOG4CXX_INCLUDE_DIR} ${Boost_INCLUDE_DIR} ${PLplot_INCLUDE_DIR} ) #Configuration de la librairie file( GLOB_RECURSE source_files ./* ) MESSAGE( STATUS "Sources :" ${source_files}) ADD_LIBRARY( Plot SHARED ${source_files} ) target_link_libraries( Plot ${LOG4CXX_LIBRARIES} ${PLplot_LIBRARIES} ${QSAS_LIBRARIES} ${BOOST_ROOT}/lib/libboost_system.so ${BOOST_ROOT}/lib/libboost_thread.so ${BOOST_ROOT}/lib/libboost_regex.so rt Parameters Info InternLib PostProcessing Plugin XMLParameterConfigurator XMLRequest DDClient_rLib TimeTableCatalog )