代码拉取完成,页面将自动刷新
同步操作将从 TensorLayer/hyperpose 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
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()
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。