复现已有算法

This commit is contained in:
cloud
2026-07-14 15:43:18 +08:00
parent abebd2a683
commit 50b8111fd9
860 changed files with 182250 additions and 18 deletions
+18
View File
@@ -0,0 +1,18 @@
cmake_minimum_required(VERSION 3.16.3)
project(wind_power_cal VERSION 1.0 LANGUAGES CXX)
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
# ---- 架构检测(与 third_party/ensure_third_party.sh 的安装目录对齐)----
if(CMAKE_SYSTEM_PROCESSOR MATCHES "^(armv7.*|arm)$")
set(TARGET_ARCH "arm32")
elseif(CMAKE_SYSTEM_PROCESSOR MATCHES "^(aarch64|arm64)$")
set(TARGET_ARCH "arm64")
else()
set(TARGET_ARCH "x64")
endif()
message(STATUS "wind_power_cal target arch: ${TARGET_ARCH}")
# 后端服务
add_subdirectory(backend)