From 61331a68e23b492b3015a82a3de88b933d801ae7 Mon Sep 17 00:00:00 2001 From: "Yuri Y. Kuznetsov" Date: Sat, 17 Dec 2022 19:23:44 -0500 Subject: [PATCH 1/3] Added README-BMG.txt --- README-BMG.txt | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 README-BMG.txt diff --git a/README-BMG.txt b/README-BMG.txt new file mode 100644 index 000000000..0ca95da14 --- /dev/null +++ b/README-BMG.txt @@ -0,0 +1,3 @@ +# How to build for BMG use case + +1. .... From 0b8af9940cc0be0fe6f020456527ed105d001cc5 Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Sun, 18 Dec 2022 20:14:52 -0500 Subject: [PATCH 2/3] Updated README-BMG.txt; --- README-BMG.txt | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/README-BMG.txt b/README-BMG.txt index 0ca95da14..4fa6a66a8 100644 --- a/README-BMG.txt +++ b/README-BMG.txt @@ -1,3 +1,21 @@ # How to build for BMG use case -1. .... +0. Tools + - cmake + $ "C:\Program Files\CMake\bin\cmake.exe" .. \ + -DCMAKE_TOOLCHAIN_FILE=E:/Users/yyk99/Downloads/vcpkg/vcpkg/scripts/buildsystems/vcpkg.cmake \ + -DOpenMVS_USE_CUDA=OFF + +1. Required + - boost + -DBoost_NO_WARN_NEW_VERSIONS=1 + - OpenCV + - Eigen3 + -DEIGEN3_INCLUDE_DIR=C:\opt\eigen3.4\include\eigen3 + - CGAL + - GMP + https://github.com/gx/gmp + + Optional: + - BREAKPAD + From a826be10d7baa91f1d2db2df7840e1230de18c8e Mon Sep 17 00:00:00 2001 From: Yuri Kuznetsov Date: Wed, 1 Mar 2023 13:01:25 -0500 Subject: [PATCH 3/3] Added add_compile_options(/MP) --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 39ec359ac..159ad95bf 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -58,6 +58,10 @@ ComposePackageLibSuffix() ConfigCompilerAndLinker() ConfigLibrary() +if (MSVC) + add_compile_options(/MP) +endif() + # Find dependencies: SET(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/build/Modules)