1 Star 0 Fork 26

yourkeychen/hyperpose

forked from TensorLayer/hyperpose 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
CMakeLists.txt 1.31 KB
一键复制 编辑 原始数据 按行查看 历史
ganler 提交于 2020-06-04 21:52 . Fix ppn memory bug + examples
CMAKE_MINIMUM_REQUIRED(VERSION 3.5)
PROJECT(HyperPose VERSION 2.0)
SET(CMAKE_CXX_STANDARD 17)
SET(CMAKE_CXX_STANDARD_REQUIRED ON)
# Compiler Flags
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Ofast -march=native")
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)
OPTION(ENABLE_CUDA "Build with CUDA support." ON)
OPTION(BUILD_EXAMPLES "Build examples." ON)
OPTION(BUILD_USER_CODES "Build user codes." ON)
OPTION(BUILD_TESTS "Build tests." ON)
OPTION(BUILD_LIB "Build library." ON)
OPTION(BUILD_PACKAGE "Build package." OFF)
IF(WITH_TRACE)
MESSAGE(STATUS "[HyperPose] Trace Enabled.")
ADD_DEFINITIONS(-DENABLE_TRACE)
ENDIF()
IF(BUILD_LIB)
MESSAGE("BUILD_LIB ${BUILD_LIB}")
INCLUDE(cmake/hyperpose.cmake)
IF(BUILD_PACKAGE)
INCLUDE(cmake/package.cmake)
ENDIF()
ENDIF()
IF(BUILD_EXAMPLES)
MESSAGE(STATUS "[HyperPose] Examples Building Enabled.")
INCLUDE(cmake/examples.cmake)
ENDIF()
IF(BUILD_USER_CODES)
MESSAGE(STATUS "[HyperPose] User Codes Building Enabled.")
INCLUDE(cmake/user_codes.cmake)
ENDIF()
IF(BUILD_TESTS)
MESSAGE(STATUS "[HyperPose] Tests Building Enabled.")
INCLUDE(cmake/tests.cmake)
ENABLE_TESTING()
ENDIF()
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/yourkeychen/hyperpose.git
git@gitee.com:yourkeychen/hyperpose.git
yourkeychen
hyperpose
hyperpose
master

搜索帮助