提交scripts

This commit is contained in:
hesuicong committed 2025-07-21 10:09:12 +08:00
1 parent 82caf72036
commit 07dabbd186
224 files changed
+130146

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
if(MSVC)
FILE(GLOB LIBRARY_FILES_C "*.cpp" "*.rc")
else()
FILE(GLOB LIBRARY_FILES_C "*.cpp")
endif()
FILE(GLOB LIBRARY_FILES_H "*.h" "*.inl")
ADD_DEFINITIONS(-D_DATA_PATH="${CMAKE_CURRENT_SOURCE_DIR}/data/")
cxx_executable_with_flags(Tests "Apps" "${cxx_default}" "MVS;${OpenMVS_EXTRA_LIBS}" ${LIBRARY_FILES_C} ${LIBRARY_FILES_H})
# Install
INSTALL(TARGETS Tests
EXPORT OpenMVSTargets
RUNTIME DESTINATION "${INSTALL_BIN_DIR}" COMPONENT bin)