mmdeploy/csrc/codebase/CMakeLists.txt
Chen Xin 0ce7c83c63
mmrotate sdk module (#450)
* support mmrotate

* fix name

* windows default link to cudart_static.lib, which is not compatible with static build && python_api

* python api

* fix ci

* fix type & remove unused meta info

* fix doxygen, add [out] to @param

* fix mmrotate-c-api

* refactor naming

* refactor naming

* fix lint

* fix lint

* move replace_RResize -> get_preprocess

* Update cuda.cmake

On windows, make static lib and python api build success.

* fix ptr

* Use unique ptr to prevent memory leaks

* move unique_ptr

* remove deleter

Co-authored-by: chenxin2 <chenxin2@sensetime.com>
Co-authored-by: cx <cx@ubuntu20.04>
2022-05-17 23:37:32 +08:00

22 lines
614 B
CMake

# Copyright (c) OpenMMLab. All rights reserved.
cmake_minimum_required(VERSION 3.14)
project(mmdeploy_codebase)
set(CODEBASES "")
if ("all" IN_LIST MMDEPLOY_CODEBASES)
list(APPEND CODEBASES "mmcls")
list(APPEND CODEBASES "mmdet")
list(APPEND CODEBASES "mmseg")
list(APPEND CODEBASES "mmocr")
list(APPEND CODEBASES "mmedit")
list(APPEND CODEBASES "mmpose")
list(APPEND CODEBASES "mmrotate")
else ()
set(CODEBASES ${MMDEPLOY_CODEBASES})
endif ()
foreach (codebase IN LISTS CODEBASES)
message(STATUS "build codebase: ${codebase}")
add_subdirectory(${codebase})
endforeach ()