#------------------------------------------------------------------- # 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. #------------------------------------------------------------------- ############################################################ # CmakeList file for curl plugin ############################################################ PROJECT(MYO) # define header and source files for the library set (MYO_HEADER_FILES include/sMyo.h ) if (Scol_STATIC) set (MYO_HEADER_FILES ${MYO_HEADER_FILES} include/loadScolMyo.h) endif() set (MYO_SOURCE_FILES src/sMyo.cpp src/scolplugin.cpp ) scol_include_plugin("MYO" "${PROJECT_SOURCE_DIR}/include" "loadScolMyo.h") # Add directories includes include_directories(include ${MYO_INCLUDE_DIRS}) # Add definition for P4 optimizations, warnings removal. add_definitions(-DOPTI_P4 -D_CRT_SECURE_NO_WARNINGS -DUSE_SSLEAY -DUSE_OPENSSL -DCURL_STATICLIB) set(MYO_SLIBRARIES ${MYO_LIBRARIES} ) # setup Scol plugin target add_library(Myo ${Scol_LIB_TYPE} ${MYO_HEADER_FILES} ${MYO_SOURCE_FILES} ) add_dependencies(Myo kernel) # set the dll version. #set_target_properties(Myo PROPERTIES VERSION ${Scol_VERSION} SOVERSION ${Scol_VERSION_MAJOR}) target_link_libraries(Myo ${MYO_SLIBRARIES}) # install Scol scol_config_plugin(Myo) #install(FILES ${MYO_HEADER_FILES} DESTINATION include/SCOL/plugins/myo)