加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 577 Bytes
一键复制 编辑 原始数据 按行查看 历史
lgarithm 提交于 2018-10-31 03:38 . don't enable trace by default
CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
PROJECT(openpose-plus)
SET(CMAKE_CXX_STANDARD 14)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
INCLUDE(cmake/3rdparty.cmake)
OPTION(WITH_TRACE "Build with tracing library." OFF)
OPTION(BUILD_FAKE "Build fake target without CUDA libraries." OFF)
IF(ENABLE_TRACE)
ADD_DEFINITIONS(-DENABLE_TRACE)
ENDIF()
IF(BUILD_FAKE)
ADD_LIBRARY(openpose-plus src/fake_openpose-plus.cpp)
ELSE()
INCLUDE(cmake/openpose-plus.cmake)
INCLUDE(cmake/package.cmake)
ENDIF()
INCLUDE(cmake/examples.cmake)
ENABLE_TESTING()
# TODO: add tests
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化