代码拉取完成,页面将自动刷新
cmake_minimum_required(VERSION 3.15)
project(oeAware-plugin-cfgo)
set(CMAKE_CXX_STANDARD 11)
option(WITH_DEBUG "debug mode" OFF)
if (WITH_DEBUG)
message("-- Note: debug mode")
add_compile_options(-g)
endif()
add_compile_options(-std=c++17 -O2 -fPIC -Wall -Wextra -Wno-write-strings)
# libkperf
message("-- libkperf library path: ${LIB_KPERF_LIBPATH}")
message("-- libkperf include path: ${LIB_KPERF_INCPATH}")
set(tuner_src
src/plugin_tuner/instance.cpp
src/plugin_tuner/tuner_sysboost.cpp
src/utils.cpp
)
add_library(cfgo-tuner SHARED ${tuner_src})
include_directories(cfgo-tuner PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/include
${LIB_KPERF_INCPATH}
)
target_link_libraries(cfgo-tuner kperf sym dl log4cplus boost_system boost_filesystem)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。