初始化提交

This commit is contained in:
hesuicong committed 2025-07-21 10:12:51 +08:00
1 parent df61f3992d
commit 5c980c9b9b
292 files changed
+124105

No files matched your search

+66
View File
@@ -0,0 +1,66 @@
// OpenMVS version
#define OpenMVS_MAJOR_VERSION ${OpenMVS_MAJOR_VERSION}
#define OpenMVS_MINOR_VERSION ${OpenMVS_MINOR_VERSION}
#define OpenMVS_PATCH_VERSION ${OpenMVS_PATCH_VERSION}
// OpenMVS compiled as static or dynamic libs
#cmakedefine BUILD_SHARED_LIBS
// Define to 1 if you have the <inttypes.h> header file
#cmakedefine01 HAVE_INTTYPES_H
// Define to 1 if exceptions are enabled
#cmakedefine01 _HAS_EXCEPTIONS
// Define to 1 if RTTI is enabled
#cmakedefine01 _HAS_RTTI
// OpenMP support
#cmakedefine _USE_OPENMP
// BREAKPAD support
#cmakedefine _USE_BREAKPAD
// Boost support
#cmakedefine _USE_BOOST
// Boost with Python support
#cmakedefine _USE_BOOST_PYTHON
// Eigen Matrix & Linear Algebra Library
#cmakedefine _USE_EIGEN
// CERES optimization library
#cmakedefine _USE_CERES
// JPEG codec
#cmakedefine _USE_JPG
// PNG codec
#cmakedefine _USE_PNG
// TIFF codec
#cmakedefine _USE_TIFF
// OpenGL support
#cmakedefine _USE_OPENGL
// OpenCL support
#cmakedefine _USE_OPENCL
#cmakedefine _USE_OPENCL_STATIC
#cmakedefine _USE_OPENCL_SVM
// NVidia Cuda Runtime API
#cmakedefine _USE_CUDA
// Fast float to int support
#cmakedefine _USE_FAST_FLOAT2INT
// Fast INVSQRT support
#cmakedefine _USE_FAST_INVSQRT
// Fast CBRT support
#cmakedefine _USE_FAST_CBRT
// SSE support
#cmakedefine _USE_SSE
+23
View File
@@ -0,0 +1,23 @@
# Configure file for the OpenMVS package, defining the following variables:
# OpenMVS_INCLUDE_DIRS - include directories
# OpenMVS_DEFINITIONS - definitions to be used
# OpenMVS_LIBRARIES - libraries to link against
# OpenMVS_BINARIES - binaries
@PACKAGE_INIT@
set(OpenMVS_VERSION "@OpenMVS_VERSION@")
# Compute paths
set(OpenMVS_PREFIX "@CMAKE_INSTALL_PREFIX@")
set(OpenMVS_CMAKE_DIR "@INSTALL_CMAKE_DIR_IN@")
set(OpenMVS_INCLUDE_DIRS "@INSTALL_INCLUDE_DIR_IN@")
set(OpenMVS_DEFINITIONS "@OpenMVS_DEFINITIONS@")
# These are IMPORTED targets created by OpenMVSTargets.cmake
set(OpenMVS_LIBRARIES MVS)
set(OpenMVS_BINARIES InterfaceCOLMAP DensifyPointCloud ReconstructMesh RefineMesh TextureMesh)
include("${CMAKE_CURRENT_LIST_DIR}/OpenMVSTargets.cmake")
check_required_components("OpenMVS")
+21
View File
@@ -0,0 +1,21 @@
if(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
message(FATAL_ERROR "Cannot find install manifest: @CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
endif(NOT EXISTS "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt")
file(READ "@CMAKE_CURRENT_BINARY_DIR@/install_manifest.txt" files)
string(REGEX REPLACE "\n" ";" files "${files}")
foreach(file ${files})
message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
exec_program(
"@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
OUTPUT_VARIABLE rm_out
RETURN_VALUE rm_retval
)
if(NOT "${rm_retval}" STREQUAL 0)
message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}")
endif(NOT "${rm_retval}" STREQUAL 0)
else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
message(STATUS "File $ENV{DESTDIR}${file} does not exist.")
endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
endforeach(file)