#------------------------------------------------------------------- # 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. #------------------------------------------------------------------- ############################################################ # RespirationBelt plugin CMakeList ############################################################ PROJECT(wsystem) # define header and source files for the plugin set (WSYSTEM_HEADER_FILES include/wsystem.h ) if (Scol_STATIC) set (WSYSTEM_HEADER_FILES ${WSYSTEM_HEADER_FILES} include/loadScolWsystem.h) endif() set (WSYSTEM_SOURCE_FILES src/wsystem.cpp ) scol_include_plugin("WSYSTEM" "${PROJECT_SOURCE_DIR}/include" "loadScolWsystem.h") # Add directories includes include_directories(include) # Add definition for P4 optimizations, warnings removal. add_definitions(-DOPTI_P4 -D_CRT_SECURE_NO_WARNINGS) # No dependencies but windows's ones set(LIBRARIES) # setup Scol wsystem plugin target add_library(wsystem ${Scol_LIB_TYPE} ${WSYSTEM_HEADER_FILES} ${WSYSTEM_SOURCE_FILES} ) add_dependencies(wsystem kernel) # set the dll version. #set_target_properties(wsystem PROPERTIES VERSION ${Scol_VERSION} SOVERSION ${Scol_VERSION_MAJOR}) target_link_libraries(wsystem ${LIBRARIES}) # install Scol wsystem scol_config_plugin(wsystem) #install(FILES ${WSYSTEM_HEADER_FILES} DESTINATION include/SCOL/plugins/wsystem)