配置文件处理

This commit is contained in:
hesuicong committed 2025-09-26 15:48:14 +08:00
1 parent 74b5bbd255
commit ca6e3819b8
8 files changed
+103 -20

No files matched your search

+7
View File
@@ -0,0 +1,7 @@
#pragma once
#include <string>
// 从环境变量获取的路径
const std::string PYTHON_PATH = "@ENV_PYTHON_PATH@";
const std::string MVS_PATH = "@ENV_MVS_PATH@";
+3
View File
@@ -1,3 +1,5 @@
#include <string>
// OpenMVS version
#define OpenMVS_MAJOR_VERSION ${OpenMVS_MAJOR_VERSION}
#define OpenMVS_MINOR_VERSION ${OpenMVS_MINOR_VERSION}
@@ -64,3 +66,4 @@
// SSE support
#cmakedefine _USE_SSE