#------------------------------------------------------------------- # 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(respirationBelt) # define header and source files for the library set (RESPIRATION_BELT_HEADER_FILES include/LSerie.h include/Plugin.h include/prerequisites.h include/RespirationBelt.h ) set (RESPIRATION_BELT_SOURCE_FILES src/LSerie.cpp src/Plugin.cpp src/RespirationBelt.cpp ) # Add directories includes include_directories(include ${TUsb_INCLUDE_DIRS}) # Add definition for P4 optimizations, warnings removal. add_definitions(-DOPTI_P4 -D_CRT_SECURE_NO_WARNINGS) set(LIBRARIES Setupapi.lib) # setup Scol respirationBelt plugin target add_library(respirationBelt ${Scol_LIB_TYPE} ${RESPIRATION_BELT_HEADER_FILES} ${RESPIRATION_BELT_SOURCE_FILES} ) add_dependencies(respirationBelt kernel) # set the dll version. #set_target_properties(respirationBelt PROPERTIES VERSION ${Scol_VERSION} SOVERSION ${Scol_VERSION_MAJOR}) target_link_libraries(respirationBelt ${LIBRARIES}) # install Scol respirationBelt scol_config_plugin(respirationBelt) #install(FILES ${RESPIRATION_BELT_HEADER_FILES} DESTINATION include/SCOL/plugins/respirationBelt)