#------------------------------------------------------------------- # This file is part of the CMake build system for Scol # # The contents of this file are placed in the public domain. Feel # free to make use of it in any way you like. #------------------------------------------------------------------- ############################################################ # Nonin plugin CMakeList ############################################################ PROJECT(nonin) # define header and source files for the library set (NONIN_HEADER_FILES include/LSerie.h include/NoninCom.h include/NoninStreamParser.h include/ou_thread.h include/plugin.h ) if (Scol_STATIC) set (NONIN_HEADER_FILES ${NONIN_HEADER_FILES} include/loadScolNonin.h) endif() set (NONIN_SOURCE_FILES src/LSerie.cpp src/NoninCom.cpp src/NoninStreamParser.cpp src/ou_thread.cpp src/plugin.cpp ) scol_include_plugin("NONIN" "${PROJECT_SOURCE_DIR}/include" "loadScolNonin.h") # Add directories includes include_directories(include) # Add definition for P4 optimizations, warnings removal. add_definitions(-DOPTI_P4 -D_CRT_SECURE_NO_WARNINGS) set(LIBRARIES) # setup Scol nonin plugin target add_library(nonin ${Scol_LIB_TYPE} ${NONIN_HEADER_FILES} ${NONIN_SOURCE_FILES} ) add_dependencies(nonin kernel) # set the dll version. #set_target_properties(nonin PROPERTIES VERSION ${Scol_VERSION} SOVERSION ${Scol_VERSION_MAJOR}) target_link_libraries(nonin ${LIBRARIES}) # install Scol nonin scol_config_plugin(nonin) #install(FILES ${NONIN_HEADER_FILES} DESTINATION include/SCOL/plugins/nonin)