#------------------------------------------------------------------- # This file is part of the CMake build system for Scol # # You can use for free the content of this file. #------------------------------------------------------------------- ############################################################ # SCIENCE plugin CMakeList ############################################################ project(science) set(LIBRARY_OUTPUT_PATH lib/${CMAKE_BUILD_TYPE}) # define header files for scol include_directories ("${Scol_SOURCE_DIR}/hscol", "include") # define header files for the library set (SCIENCE_HEADER_FILES main_science.h date/date_scol.h maths/scol_maths.h statistic/statistic.h weather/weather.h ) # define source files for the library set (SCIENCE_SOURCE_FILES common.c main.c date/date_scol.c maths/scol_maths.c misc/memrchr.c statistic/statistic.c weather/weather.c weather/weather_conn.c weather/weather_ftp.c weather/weather_misc.c ) add_definitions (-DOPTI_P4 -Wall) add_library (science ${Scol_LIB_TYPE} ${SCIENCE_HEADER_FILES} ${SCIENCE_SOURCE_FILES} ) add_dependencies (science kernel) #set_target_properties (science PROPERTIES VERSION ${Scol_VERSION} SOVERSION ${Scol_VERSION_MAJOR}) scol_config_plugin (science) #install (FILES ${SCIENCE_HEADER_FILES} DESTINATION include/SCOL/plugins/science)