Techt3o commited on
Commit
dac7172
·
verified ·
1 Parent(s): 601a708

96ab07ef087df400b4661ae95aaf261be3316a5ddebb622f93543e232acef74d

Browse files
Files changed (50) hide show
  1. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quantlib/portfile.cmake +30 -0
  2. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quantlib/usage +4 -0
  3. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quantlib/vcpkg.json +49 -0
  4. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quaternions/portfile.cmake +12 -0
  5. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quaternions/vcpkg.json +10 -0
  6. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quazip/portfile.cmake +22 -0
  7. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quazip/vcpkg.json +19 -0
  8. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfast/00001-fix-boost-asio.patch +39 -0
  9. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfast/CMakeLists.txt +54 -0
  10. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfast/portfile.cmake +48 -0
  11. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfast/usage +4 -0
  12. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfast/vcpkg.json +11 -0
  13. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfix/00001-fix-build.patch +112 -0
  14. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfix/fix_wsl_symlink_error.patch +15 -0
  15. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfix/portfile.cmake +49 -0
  16. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfix/usage +4 -0
  17. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfix/vcpkg.json +19 -0
  18. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quill/fix-c4189-warning.patch +15 -0
  19. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quill/portfile.cmake +33 -0
  20. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quill/vcpkg.json +19 -0
  21. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quirc/CMakeLists.txt +27 -0
  22. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quirc/portfile.cmake +26 -0
  23. third-party/DPVO/Pangolin/scripts/vcpkg/ports/quirc/vcpkg.json +6 -0
  24. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qwt/fix-dynamic-static.patch +15 -0
  25. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qwt/portfile.cmake +38 -0
  26. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qwt/vcpkg.json +15 -0
  27. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qwtw/portfile.cmake +16 -0
  28. third-party/DPVO/Pangolin/scripts/vcpkg/ports/qwtw/vcpkg.json +23 -0
  29. third-party/DPVO/Pangolin/scripts/vcpkg/ports/rabit/fix-file-conflict.patch +52 -0
  30. third-party/DPVO/Pangolin/scripts/vcpkg/ports/rabit/portfile.cmake +34 -0
  31. third-party/DPVO/Pangolin/scripts/vcpkg/ports/rabit/vcpkg.json +11 -0
  32. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ragel/0001-remove-unistd-h.patch +14 -0
  33. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ragel/CMakeLists.txt +128 -0
  34. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ragel/config.h +26 -0
  35. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ragel/portfile.cmake +29 -0
  36. third-party/DPVO/Pangolin/scripts/vcpkg/ports/ragel/vcpkg.json +7 -0
  37. third-party/DPVO/Pangolin/scripts/vcpkg/ports/randomstr/portfile.cmake +18 -0
  38. third-party/DPVO/Pangolin/scripts/vcpkg/ports/randomstr/vcpkg.json +16 -0
  39. third-party/DPVO/Pangolin/scripts/vcpkg/ports/rang/portfile.cmake +20 -0
  40. third-party/DPVO/Pangolin/scripts/vcpkg/ports/rang/vcpkg.json +16 -0
  41. third-party/DPVO/Pangolin/scripts/vcpkg/ports/range-v3-vs2015/portfile.cmake +12 -0
  42. third-party/DPVO/Pangolin/scripts/vcpkg/ports/range-v3-vs2015/vcpkg.json +7 -0
  43. third-party/DPVO/Pangolin/scripts/vcpkg/ports/range-v3/portfile.cmake +26 -0
  44. third-party/DPVO/Pangolin/scripts/vcpkg/ports/range-v3/vcpkg.json +16 -0
  45. third-party/DPVO/Pangolin/scripts/vcpkg/ports/rapidcheck/portfile.cmake +23 -0
  46. third-party/DPVO/Pangolin/scripts/vcpkg/ports/rapidcheck/vcpkg.json +16 -0
  47. third-party/DPVO/Pangolin/scripts/vcpkg/ports/rapidcsv/portfile.cmake +16 -0
  48. third-party/DPVO/Pangolin/scripts/vcpkg/ports/rapidcsv/vcpkg.json +12 -0
  49. third-party/DPVO/Pangolin/scripts/vcpkg/ports/rapidjson/portfile.cmake +31 -0
  50. third-party/DPVO/Pangolin/scripts/vcpkg/ports/rapidjson/vcpkg.json +17 -0
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quantlib/portfile.cmake ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO lballabio/QuantLib
4
+ REF QuantLib-v1.25
5
+ SHA512 9a08c3d825f85c93e7db74b31dc93d03d7ec487b7a09f86b6f3efb0404791e1b3e1ea19e06cea19fd04ab190d2e8eb7bad889660d47eb9988c36609967646aa3
6
+ HEAD_REF master
7
+ )
8
+
9
+ if (VCPKG_TARGET_IS_WINDOWS)
10
+ # This can (and should) be removed if QuantLib ever supports dynamically linking on Windows
11
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
12
+ endif()
13
+
14
+ vcpkg_cmake_configure(
15
+ SOURCE_PATH "${SOURCE_PATH}"
16
+ OPTIONS
17
+ -DQL_BUILD_BENCHMARK=OFF
18
+ -DQL_BUILD_EXAMPLES=OFF
19
+ -DQL_BUILD_TEST_SUITE=OFF
20
+ )
21
+
22
+ vcpkg_cmake_install()
23
+ vcpkg_cmake_config_fixup(PACKAGE_NAME QuantLib CONFIG_PATH lib/cmake/QuantLib)
24
+ vcpkg_copy_pdbs()
25
+ # Install custom usage
26
+ configure_file(${CMAKE_CURRENT_LIST_DIR}/usage ${CURRENT_PACKAGES_DIR}/share/${PORT}/usage @ONLY)
27
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
28
+
29
+ # Handle copyright
30
+ configure_file("${SOURCE_PATH}/LICENSE.TXT" "${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright" COPYONLY)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quantlib/usage ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ The package quantlib provides CMake targets:
2
+
3
+ find_package(QuantLib CONFIG REQUIRED)
4
+ target_link_libraries(main PRIVATE QuantLib::QuantLib)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quantlib/vcpkg.json ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "quantlib",
3
+ "version": "1.25",
4
+ "description": "The QuantLib C++ library",
5
+ "homepage": "https://www.quantlib.org/",
6
+ "supports": "!(windows & !static)",
7
+ "dependencies": [
8
+ "boost-accumulators",
9
+ "boost-algorithm",
10
+ "boost-any",
11
+ "boost-array",
12
+ "boost-assert",
13
+ "boost-assign",
14
+ "boost-atomic",
15
+ "boost-bind",
16
+ "boost-config",
17
+ "boost-core",
18
+ "boost-date-time",
19
+ "boost-dynamic-bitset",
20
+ "boost-format",
21
+ "boost-function",
22
+ "boost-functional",
23
+ "boost-iterator",
24
+ "boost-lexical-cast",
25
+ "boost-math",
26
+ "boost-multi-array",
27
+ "boost-multiprecision",
28
+ "boost-optional",
29
+ "boost-preprocessor",
30
+ "boost-random",
31
+ "boost-serialization",
32
+ "boost-signals2",
33
+ "boost-smart-ptr",
34
+ "boost-thread",
35
+ "boost-tuple",
36
+ "boost-type-traits",
37
+ "boost-ublas",
38
+ "boost-unordered",
39
+ "boost-utility",
40
+ {
41
+ "name": "vcpkg-cmake",
42
+ "host": true
43
+ },
44
+ {
45
+ "name": "vcpkg-cmake-config",
46
+ "host": true
47
+ }
48
+ ]
49
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quaternions/portfile.cmake ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # header-only library
2
+
3
+ vcpkg_from_github(
4
+ OUT_SOURCE_PATH SOURCE_PATH
5
+ REPO ferd36/quaternions
6
+ REF 68fc6c7fb392b1a920779d80bb75879263329ff5
7
+ SHA512 b7b934a493645e9c9ec04d581d2e5af57298325086919c20fbaa13df264c16cb5a0e380042cf5a0cfddbf142c82e5da63b84e8f2bc90615b1eccad83a1c9df88
8
+ HEAD_REF master
9
+ )
10
+
11
+ file(INSTALL ${SOURCE_PATH}/include/ DESTINATION ${CURRENT_PACKAGES_DIR}/include)
12
+ file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quaternions/vcpkg.json ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "quaternions",
3
+ "version-string": "1.0.0",
4
+ "port-version": 1,
5
+ "description": "A C++11 library to work with quaternions, as a single header file.",
6
+ "homepage": "https://github.com/ferd36/quaternions",
7
+ "dependencies": [
8
+ "boost-mpl"
9
+ ]
10
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quazip/portfile.cmake ADDED
@@ -0,0 +1,22 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO stachenov/quazip
4
+ REF v1.1
5
+ SHA512 418516759e993c2e5636422c6a14e2caf95f836698b91d2188df5ef9b97879ee326255273793fc802325e14f378cbe2baad7e6ec2e1732e19bf238f70891f22c
6
+ )
7
+
8
+ vcpkg_cmake_configure(
9
+ SOURCE_PATH "${SOURCE_PATH}"
10
+ )
11
+
12
+ vcpkg_cmake_install()
13
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/QuaZip-Qt5-1.1)
14
+ vcpkg_copy_pdbs()
15
+ if(VCPKG_TARGET_IS_WINDOWS)
16
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib/pkgconfig" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig")
17
+ else()
18
+ vcpkg_fixup_pkgconfig()
19
+ endif()
20
+
21
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
22
+ file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}/" RENAME copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quazip/vcpkg.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "quazip",
3
+ "version": "1.1",
4
+ "port-version": 1,
5
+ "description": "Qt/C++ wrapper over minizip",
6
+ "homepage": "https://stachenov.github.io/quazip/",
7
+ "dependencies": [
8
+ "qt5-base",
9
+ {
10
+ "name": "vcpkg-cmake",
11
+ "host": true
12
+ },
13
+ {
14
+ "name": "vcpkg-cmake-config",
15
+ "host": true
16
+ },
17
+ "zlib"
18
+ ]
19
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfast/00001-fix-boost-asio.patch ADDED
@@ -0,0 +1,39 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/src/Common/QuickFASTPch.h b/src/Common/QuickFASTPch.h
2
+ index 3574df8..c4ef4e1 100644
3
+ --- a/src/Common/QuickFASTPch.h
4
+ +++ b/src/Common/QuickFASTPch.h
5
+ @@ -32,7 +32,7 @@
6
+ #include <string.h>
7
+
8
+ // If building for .NET, must link boost threads dynamically
9
+ -#define BOOST_THREAD_USE_DLL
10
+ +// #define BOOST_THREAD_USE_DLL
11
+ // This reports at compile time which boost libraries will be used
12
+ // #define BOOST_LIB_DIAGNOSTIC
13
+
14
+ diff --git a/src/Communication/AsioService.h b/src/Communication/AsioService.h
15
+ index 4f61915..96f2198 100644
16
+ --- a/src/Communication/AsioService.h
17
+ +++ b/src/Communication/AsioService.h
18
+ @@ -99,6 +99,7 @@ namespace QuickFAST
19
+ {
20
+ return ioService_;
21
+ }
22
+ + boost::asio::io_service::executor_type get_executor() BOOST_ASIO_NOEXCEPT { return ioService_.get_executor();}
23
+
24
+ ///@brief Post a completion handler for later processing (usually in a different thread)
25
+ /// @param handler is the handler to be posted
26
+ diff --git a/src/Communication/AsioService_fwd.h b/src/Communication/AsioService_fwd.h
27
+ index dc2f235..6ad5e68 100644
28
+ --- a/src/Communication/AsioService_fwd.h
29
+ +++ b/src/Communication/AsioService_fwd.h
30
+ @@ -17,7 +17,8 @@ namespace boost
31
+ {
32
+ namespace asio
33
+ {
34
+ - class io_service;
35
+ + class io_context;
36
+ + typedef io_context io_service;
37
+ }
38
+ }
39
+
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfast/CMakeLists.txt ADDED
@@ -0,0 +1,54 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cmake_minimum_required(VERSION 3.13)
2
+ project(quickfast CXX)
3
+
4
+ option(BUILD_SHARED_LIBS "Build shared instead of static library" ON)
5
+
6
+ find_package(Boost REQUIRED COMPONENTS thread)
7
+ find_package(XercesC REQUIRED)
8
+
9
+ file(GLOB SOURCES
10
+ quickfast/Application/*.cpp
11
+ quickfast/Common/*.cpp
12
+ quickfast/Codecs/*.cpp
13
+ quickfast/Communication/*.cpp
14
+ quickfast/Messages/*.cpp
15
+ )
16
+
17
+ file(GLOB HEADERS RELATIVE ${CMAKE_CURRENT_SOURCE_DIR}
18
+ quickfast/Application/*.h
19
+ quickfast/Common/*.h
20
+ quickfast/Codecs/*.h
21
+ quickfast/Communication/*.h
22
+ quickfast/Messages/*.h
23
+ )
24
+
25
+ if(BUILD_SHARED_LIBS)
26
+ add_library(quickfast SHARED ${HEADERS} ${SOURCES})
27
+ target_compile_definitions(quickfast PRIVATE -DQUICKFAST_BUILD_DLL)
28
+ else()
29
+ add_library(quickfast STATIC ${HEADERS} ${SOURCES})
30
+ target_compile_definitions(quickfast PUBLIC -DQUICKFAST_HAS_DLL=0)
31
+ endif()
32
+
33
+ target_include_directories(quickfast PUBLIC
34
+ $<INSTALL_INTERFACE:include>
35
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
36
+ $<BUILD_INTERFACE:${Boost_INCLUDE_DIRS}>
37
+ )
38
+
39
+ target_link_libraries(quickfast PRIVATE
40
+ ${Boost_LIBRARIES}
41
+ XercesC::XercesC
42
+ )
43
+
44
+ install(TARGETS quickfast EXPORT quickfast-config
45
+ RUNTIME DESTINATION bin
46
+ ARCHIVE DESTINATION lib
47
+ LIBRARY DESTINATION lib
48
+ )
49
+ install(EXPORT quickfast-config DESTINATION share/cmake/quickfast)
50
+
51
+ foreach (HEADER ${HEADERS} )
52
+ get_filename_component(HEADER_DIR ${HEADER} DIRECTORY)
53
+ install(FILES ${HEADER} DESTINATION include/${HEADER_DIR})
54
+ endforeach()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfast/portfile.cmake ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO objectcomputing/quickfast
4
+ REF V1_5
5
+ SHA512 f224ffbe0ee1b84616b46d536d27da01346103cf9ed135a87543da51e8e979ec3735e08ece8525ee1316ea323d41dcacc4d44eabe2e033d68f93432ea43d1ce9
6
+ HEAD_REF master
7
+ PATCHES 00001-fix-boost-asio.patch
8
+ )
9
+
10
+ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
11
+
12
+ if(NOT EXISTS "${SOURCE_PATH}/quickfast")
13
+ file(RENAME ${SOURCE_PATH}/src ${SOURCE_PATH}/quickfast)
14
+ endif()
15
+
16
+ file(GLOB_RECURSE SRC_FILES "${SOURCE_PATH}/quickfast/*.cpp" "${SOURCE_PATH}/quickfast/*.h")
17
+ foreach(SRC_FILE IN LISTS SRC_FILES)
18
+ file(READ "${SRC_FILE}" _contents)
19
+ string(REPLACE "#include <Common/" "#include <quickfast/Common/" _contents "${_contents}")
20
+ string(REPLACE "#include <Application/" "#include <quickfast/Application/" _contents "${_contents}")
21
+ string(REPLACE "#include <Communication/" "#include <quickfast/Communication/" _contents "${_contents}")
22
+ string(REPLACE "#include <Codecs/" "#include <quickfast/Codecs/" _contents "${_contents}")
23
+ string(REPLACE "#include <Messages/" "#include <quickfast/Messages/" _contents "${_contents}")
24
+ file(WRITE "${SRC_FILE}" "${_contents}")
25
+ endforeach()
26
+
27
+ if(VCPKG_LIBRARY_LINKAGE STREQUAL dynamic)
28
+ set(BUILD_SHARED_LIBS ON)
29
+ else()
30
+ set(BUILD_SHARED_LIBS OFF)
31
+ endif()
32
+
33
+ vcpkg_configure_cmake(
34
+ SOURCE_PATH ${SOURCE_PATH}
35
+ OPTIONS
36
+ -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIBS}
37
+ PREFER_NINJA
38
+ )
39
+
40
+ vcpkg_install_cmake()
41
+ vcpkg_copy_pdbs()
42
+ vcpkg_fixup_cmake_targets(CONFIG_PATH share/cmake/quickfast)
43
+
44
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
45
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/share)
46
+
47
+ configure_file(${SOURCE_PATH}/license.txt ${CURRENT_PACKAGES_DIR}/share/quickfast/copyright COPYONLY)
48
+ file(COPY ${CMAKE_CURRENT_LIST_DIR}/usage DESTINATION ${CURRENT_PACKAGES_DIR}/share/quickfast)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfast/usage ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ The package quickfast provides CMake targets:
2
+
3
+ find_package(quickfast CONFIG REQUIRED)
4
+ target_link_libraries(main PRIVATE quickfast)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfast/vcpkg.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "quickfast",
3
+ "version-string": "1.5",
4
+ "port-version": 1,
5
+ "description": "QuickFAST is an Open Source native C++ implementation of the FAST Protocol [SM].",
6
+ "homepage": "https://github.com/objectcomputing/quickfast",
7
+ "dependencies": [
8
+ "boost-asio",
9
+ "xerces-c"
10
+ ]
11
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfix/00001-fix-build.patch ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 48908ead..90c17759 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -92,13 +92,13 @@ include_directories(${PYTHON_INCLUDE_DIRS})
6
+ endif ()
7
+
8
+ if( WIN32 OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
9
+ -add_subdirectory(UnitTest++)
10
+ +#add_subdirectory(UnitTest++)
11
+ endif()
12
+
13
+ add_subdirectory(src)
14
+ -add_subdirectory(examples)
15
+ +#add_subdirectory(examples)
16
+ if( WIN32)
17
+ -add_subdirectory(test)
18
+ +#add_subdirectory(test)
19
+ endif()
20
+
21
+ install(DIRECTORY ${CMAKE_SOURCE_DIR}/spec/ DESTINATION share/quickfix
22
+ diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
23
+ index cb4a60c6..d21fa995 100644
24
+ --- a/src/CMakeLists.txt
25
+ +++ b/src/CMakeLists.txt
26
+ @@ -1,6 +1,6 @@
27
+ add_subdirectory(C++)
28
+
29
+ -if( WIN32 OR ${CMAKE_SYSTEM_NAME} STREQUAL "Linux" )
30
+ +if(0)
31
+
32
+ add_executable(at at.cpp getopt.c)
33
+
34
+ diff --git a/src/C++/CMakeLists.txt b/src/C++/CMakeLists.txt
35
+ index 07774c97..27692631 100644
36
+ --- a/src/C++/CMakeLists.txt
37
+ +++ b/src/C++/CMakeLists.txt
38
+ @@ -1,3 +1,4 @@
39
+ +project(quickfix)
40
+ set(quickfix_VERSION_MAJOR 16)
41
+ set(quickfix_VERSION_MINOR 0)
42
+ set(quickfix_VERSION_PATCH 1)
43
+ @@ -64,19 +65,22 @@ endif()
44
+
45
+ if (WIN32)
46
+ add_library(${PROJECT_NAME} STATIC ${quickfix_SOURCES})
47
+ - set_target_properties (${PROJECT_NAME} PROPERTIES DEBUG_POSTFIX d)
48
+ target_link_libraries(${PROJECT_NAME} ${OPENSSL_LIBRARIES} ${MYSQL_CLIENT_LIBS} ${PostgreSQL_LIBRARIES} ws2_32)
49
+ + target_compile_definitions(${PROJECT_NAME} PRIVATE _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_DEPRECATE)
50
+ else()
51
+ - add_library(${PROJECT_NAME} SHARED ${quickfix_SOURCES})
52
+ + add_library(${PROJECT_NAME} STATIC ${quickfix_SOURCES})
53
+ target_link_libraries(${PROJECT_NAME} ${OPENSSL_LIBRARIES} ${MYSQL_CLIENT_LIBS} ${PostgreSQL_LIBRARIES} pthread)
54
+ endif()
55
+
56
+ target_include_directories(${PROJECT_NAME} PRIVATE ${CMAKE_SOURCE_DIR} ${CMAKE_SOURCE_DIR}/src ${CMAKE_SOURCE_DIR}/src/C++)
57
+ +target_include_directories(${PROJECT_NAME} PUBLIC $<INSTALL_INTERFACE:include>)
58
+
59
+ set_target_properties(${PROJECT_NAME} PROPERTIES VERSION ${quickfix_VERSION} SOVERSION ${quickfix_VERSION_MAJOR} )
60
+ +target_compile_definitions(${PROJECT_NAME} PUBLIC HAVE_STD_UNIQUE_PTR HAVE_STD_SHARED_PTR HAVE_SSL=1)
61
+
62
+ -install(TARGETS ${PROJECT_NAME} DESTINATION lib)
63
+ +install(TARGETS ${PROJECT_NAME} EXPORT quickfix-config DESTINATION lib)
64
+ install(DIRECTORY ${CMAKE_SOURCE_DIR}/src/C++/ DESTINATION include/quickfix
65
+ FILES_MATCHING PATTERN "*.h"
66
+ PATTERN double-conversion EXCLUDE
67
+ PATTERN test EXCLUDE)
68
+ +install(EXPORT quickfix-config DESTINATION share/cmake/quickfix)
69
+ diff --git a/src/C++/Utility.h b/src/C++/Utility.h
70
+ index 0aa2cd3e..2829e110 100644
71
+ --- a/src/C++/Utility.h
72
+ +++ b/src/C++/Utility.h
73
+ @@ -242,4 +242,10 @@ using std::strtol;
74
+ using std::strerror;
75
+ #endif
76
+
77
+ +#ifdef __cpp_noexcept_function_type
78
+ +#define QUICKFIX_THROW(...) noexcept(false)
79
+ +#else
80
+ +#define QUICKFIX_THROW(...) throw(__VA_ARGS__)
81
+ +#endif
82
+ +
83
+ #endif
84
+ diff --git a/src/C++/UtilitySSL.cpp b/src/C++/UtilitySSL.cpp
85
+ index a01606ac..aee41bbf 100644
86
+ --- a/src/C++/UtilitySSL.cpp
87
+ +++ b/src/C++/UtilitySSL.cpp
88
+ @@ -498,7 +498,11 @@ static void ssl_rand_seed(void)
89
+ /*
90
+ * seed in the current process id (usually just 4 bytes)
91
+ */
92
+ +#ifdef _MSC_VER
93
+ + pid = GetCurrentProcessId();
94
+ +#else
95
+ pid = getpid();
96
+ +#endif
97
+ l = sizeof(pid);
98
+ RAND_seed((unsigned char *)&pid, l);
99
+ /*
100
+ diff --git a/src/C++/double-conversion/utils.h b/src/C++/double-conversion/utils.h
101
+ index aef2f166..779b8ab7 100644
102
+ --- a/src/C++/double-conversion/utils.h
103
+ +++ b/src/C++/double-conversion/utils.h
104
+ @@ -61,7 +61,7 @@
105
+ // disabled.)
106
+ // On Linux,x86 89255e-22 != Div_double(89255.0/1e22)
107
+ #if defined(_M_X64) || defined(__x86_64__) || \
108
+ - defined(__ARMEL__) || defined(__avr32__) || \
109
+ + defined(__ARMEL__) || defined(__avr32__) || defined(_M_ARM) || defined(_M_ARM64) || \
110
+ defined(__hppa__) || defined(__ia64__) || \
111
+ defined(__mips__) || \
112
+ defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfix/fix_wsl_symlink_error.patch ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/cmake/QuickfixPrebuildSetup.cmake b/cmake/QuickfixPrebuildSetup.cmake
2
+ index 9e53126ec..1c3368fcb 100644
3
+ --- a/cmake/QuickfixPrebuildSetup.cmake
4
+ +++ b/cmake/QuickfixPrebuildSetup.cmake
5
+ @@ -3,8 +3,9 @@
6
+ if (NOT WIN32)
7
+ add_custom_target(QUICKFIX_HEADERS_LINK ALL
8
+ COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_SOURCE_DIR}/include/
9
+ - COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_SOURCE_DIR}/src/C++ ${CMAKE_SOURCE_DIR}/include/quickfix
10
+ + #COMMAND ${CMAKE_COMMAND} -E create_symlink ${CMAKE_SOURCE_DIR}/src/C++ ${CMAKE_SOURCE_DIR}/include/quickfix
11
+ )
12
+ + include_directories(${CMAKE_SOURCE_DIR}/src/C++)
13
+ else()
14
+ add_custom_target(QUICKFIX_HEADERS_COPY ALL
15
+ COMMAND ${CMAKE_COMMAND} -E make_directory ${CMAKE_SOURCE_DIR}/include/
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfix/portfile.cmake ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
+
3
+ vcpkg_from_github(
4
+ OUT_SOURCE_PATH SOURCE_PATH
5
+ REPO quickfix/quickfix
6
+ REF v1.15.1
7
+ SHA512 6c3dc53f25932c9b7516ab9228f634511ae0f399719f87f0ec2b38c380c0a7d1c808f0f9a14a70a063e1956118550d1121222283a9139f23cd4f8f038f595f70
8
+ HEAD_REF master
9
+ PATCHES
10
+ 00001-fix-build.patch
11
+ fix_wsl_symlink_error.patch
12
+ )
13
+
14
+ file(GLOB_RECURSE SRC_FILES RELATIVE "${SOURCE_PATH}"
15
+ "${SOURCE_PATH}/src/*.cpp"
16
+ "${SOURCE_PATH}/src/*.h"
17
+ )
18
+
19
+ list(REMOVE_ITEM SRC_FILES "src/C++/Utility.h")
20
+ list(REMOVE_ITEM SRC_FILES "src/C++/pugixml.cpp")
21
+
22
+ foreach(SRC_FILE IN LISTS SRC_FILES)
23
+ file(READ "${SOURCE_PATH}/${SRC_FILE}" _contents)
24
+ string(REPLACE "throw(" "QUICKFIX_THROW(" _contents "${_contents}")
25
+ string(REPLACE "throw (" "QUICKFIX_THROW(" _contents "${_contents}")
26
+ file(WRITE "${SOURCE_PATH}/${SRC_FILE}" "${_contents}")
27
+ endforeach()
28
+
29
+ vcpkg_cmake_configure(
30
+ SOURCE_PATH "${SOURCE_PATH}"
31
+ OPTIONS
32
+ -DHAVE_EMX=OFF
33
+ -DHAVE_MYSQL=OFF
34
+ -DHAVE_POSTGRESQL=OFF
35
+ -DHAVE_PYTHON=OFF
36
+ -DHAVE_PYTHON2=OFF
37
+ -DHAVE_PYTHON3=OFF
38
+ -DHAVE_SSL=ON
39
+ )
40
+
41
+ vcpkg_cmake_install()
42
+ vcpkg_copy_pdbs()
43
+ vcpkg_cmake_config_fixup(CONFIG_PATH share/cmake/quickfix)
44
+
45
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
46
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")
47
+
48
+ file(COPY "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")
49
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfix/usage ADDED
@@ -0,0 +1,4 @@
 
 
 
 
 
1
+ The package quickfix provides CMake targets:
2
+
3
+ find_package(quickfix CONFIG REQUIRED)
4
+ target_link_libraries(main PRIVATE quickfix)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quickfix/vcpkg.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "quickfix",
3
+ "version": "1.15.1",
4
+ "port-version": 7,
5
+ "description": "QuickFIX is a free and open source implementation of the FIX protocol.",
6
+ "homepage": "https://github.com/quickfix/quickfix",
7
+ "supports": "!uwp",
8
+ "dependencies": [
9
+ "openssl",
10
+ {
11
+ "name": "vcpkg-cmake",
12
+ "host": true
13
+ },
14
+ {
15
+ "name": "vcpkg-cmake-config",
16
+ "host": true
17
+ }
18
+ ]
19
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quill/fix-c4189-warning.patch ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/quill/CMakeLists.txt b/quill/CMakeLists.txt
2
+ index 76872c2..c173804 100644
3
+ --- a/quill/CMakeLists.txt
4
+ +++ b/quill/CMakeLists.txt
5
+ @@ -148,6 +148,10 @@ if (QUILL_NO_EXCEPTIONS)
6
+ endif ()
7
+ endif ()
8
+
9
+ +if (MSVC)
10
+ + add_definitions(/wd4189)
11
+ +endif()
12
+ +
13
+ # Add target sources
14
+ target_sources(${TARGET_NAME} PRIVATE ${SOURCE_FILES} ${HEADER_FILES})
15
+
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quill/portfile.cmake ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
+
3
+ vcpkg_from_github(
4
+ OUT_SOURCE_PATH SOURCE_PATH
5
+ REPO odygrd/quill
6
+ REF v1.6.3
7
+ SHA512 e75aca827fe0833422da0d38df482cbc39db0e43dcc3cb791f3e2649f7022dcc448831a5ede85daf6feada60a2d5eaf312a3411abbba92fb9d76466336a7244d
8
+ HEAD_REF master
9
+ PATCHES
10
+ fix-c4189-warning.patch
11
+ )
12
+
13
+ vcpkg_cmake_configure(
14
+ SOURCE_PATH ${SOURCE_PATH}
15
+ OPTIONS
16
+ -DQUILL_FMT_EXTERNAL=ON
17
+ )
18
+
19
+ vcpkg_cmake_install()
20
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/quill)
21
+
22
+ if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "debug")
23
+ file(RENAME "${CURRENT_PACKAGES_DIR}/debug/pkgconfig" "${CURRENT_PACKAGES_DIR}/debug/lib/pkgconfig")
24
+ endif()
25
+ if(NOT DEFINED VCPKG_BUILD_TYPE OR VCPKG_BUILD_TYPE STREQUAL "release")
26
+ file(RENAME "${CURRENT_PACKAGES_DIR}/pkgconfig" "${CURRENT_PACKAGES_DIR}/lib/pkgconfig")
27
+ endif()
28
+ vcpkg_fixup_pkgconfig()
29
+
30
+ vcpkg_replace_string("${CURRENT_PACKAGES_DIR}/include/quill/TweakMe.h" "// #define QUILL_FMT_EXTERNAL" "#define QUILL_FMT_EXTERNAL")
31
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
32
+
33
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quill/vcpkg.json ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "quill",
3
+ "version-semver": "1.6.3",
4
+ "port-version": 4,
5
+ "description": "C++14 Asynchronous Low Latency Logging Library",
6
+ "homepage": "https://github.com/odygrd/quill/",
7
+ "supports": "!(uwp | android)",
8
+ "dependencies": [
9
+ "fmt",
10
+ {
11
+ "name": "vcpkg-cmake",
12
+ "host": true
13
+ },
14
+ {
15
+ "name": "vcpkg-cmake-config",
16
+ "host": true
17
+ }
18
+ ]
19
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quirc/CMakeLists.txt ADDED
@@ -0,0 +1,27 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cmake_minimum_required(VERSION 3.19)
2
+
3
+ project(quirc C)
4
+
5
+ add_library(quirc
6
+ lib/decode.c
7
+ lib/identify.c
8
+ lib/quirc.c
9
+ lib/version_db.c
10
+ lib/quirc.h
11
+ )
12
+
13
+ target_include_directories(quirc INTERFACE $<INSTALL_INTERFACE:include>)
14
+
15
+ install(TARGETS quirc
16
+ EXPORT quirc-targets
17
+ RUNTIME DESTINATION bin
18
+ ARCHIVE DESTINATION lib
19
+ LIBRARY DESTINATION lib)
20
+
21
+ install(FILES lib/quirc.h DESTINATION include)
22
+
23
+ install(EXPORT quirc-targets
24
+ FILE quirc-config.cmake
25
+ NAMESPACE quirc::
26
+ DESTINATION share/quirc
27
+ )
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quirc/portfile.cmake ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
+
3
+ vcpkg_from_github(
4
+ OUT_SOURCE_PATH SOURCE_PATH
5
+ REPO dlbeer/quirc
6
+ REF 7e7ab596e4d0988faf1c12ae89c354b114181c40
7
+ SHA512 d10a783a33ffcc168a287b03250c5ac00b942ec724da641b13fe2ef3f456453b143146422b7e18129a75ce00f13d2d9e3097ac4620134d832de8be4adbbc61c2
8
+ HEAD_REF master
9
+ )
10
+
11
+ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
12
+
13
+ vcpkg_configure_cmake(
14
+ SOURCE_PATH ${SOURCE_PATH}
15
+ PREFER_NINJA
16
+ )
17
+
18
+ vcpkg_install_cmake()
19
+
20
+ vcpkg_copy_pdbs()
21
+
22
+ vcpkg_fixup_cmake_targets()
23
+
24
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
25
+
26
+ file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/quirc/copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/quirc/vcpkg.json ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
 
1
+ {
2
+ "name": "quirc",
3
+ "version": "1.1",
4
+ "port-version": 2,
5
+ "description": "quirc is one of the C library available for scanning QR Codes"
6
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qwt/fix-dynamic-static.patch ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/qwtconfig.pri b/qwtconfig.pri
2
+ index 0b054e0..f93fef6 100644
3
+ --- a/qwtconfig.pri
4
+ +++ b/qwtconfig.pri
5
+ @@ -72,7 +72,10 @@ QWT_INSTALL_FEATURES = $${QWT_INSTALL_PREFIX}/features
6
+ # it will be a static library.
7
+ ######################################################################
8
+
9
+ +CONFIG(dynamic, dynamic|static) {
10
+ +
11
+ QWT_CONFIG += QwtDll
12
+ +}
13
+
14
+ ######################################################################
15
+ # QwtPlot enables all classes, that are needed to use the QwtPlot
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qwt/portfile.cmake ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_sourceforge(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO qwt/qwt
4
+ REF 6.2.0
5
+ FILENAME "qwt-6.2.0.zip"
6
+ SHA512 a3946c6e23481b5a2193819a1c1298db5a069d514ca60de54accb3a249403f5acd778172ae6fae24fae252767b1e58deba524de6225462f1bafd7c947996aae9
7
+ PATCHES
8
+ fix-dynamic-static.patch
9
+ )
10
+
11
+ vcpkg_configure_qmake(
12
+ SOURCE_PATH "${SOURCE_PATH}"
13
+ OPTIONS
14
+ CONFIG+=${VCPKG_LIBRARY_LINKAGE}
15
+ )
16
+
17
+ if (VCPKG_TARGET_IS_WINDOWS)
18
+ vcpkg_install_qmake(
19
+ RELEASE_TARGETS sub-src-release_ordered
20
+ DEBUG_TARGETS sub-src-debug_ordered
21
+ )
22
+ else ()
23
+ vcpkg_install_qmake(
24
+ RELEASE_TARGETS sub-src-all-ordered
25
+ DEBUG_TARGETS sub-src-all-ordered
26
+ )
27
+ endif()
28
+
29
+ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
30
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin" "${CURRENT_PACKAGES_DIR}/debug/bin")
31
+ endif()
32
+
33
+ #Install the header files
34
+ file(GLOB HEADER_FILES "${SOURCE_PATH}/src/*.h" "${SOURCE_PATH}/classincludes/*")
35
+ file(INSTALL ${HEADER_FILES} DESTINATION "${CURRENT_PACKAGES_DIR}/include/${PORT}")
36
+
37
+ # Handle copyright
38
+ file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qwt/vcpkg.json ADDED
@@ -0,0 +1,15 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qwt",
3
+ "version-semver": "6.2.0",
4
+ "port-version": 2,
5
+ "description": "qt widgets library for technical applications",
6
+ "homepage": "https://sourceforge.net/projects/qwt",
7
+ "dependencies": [
8
+ {
9
+ "name": "qt5-base",
10
+ "default-features": false
11
+ },
12
+ "qt5-svg",
13
+ "qt5-tools"
14
+ ]
15
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qwtw/portfile.cmake ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO ig-or/qwtw
4
+ REF 7d6e7c95437cbc7d5d123fc1ccf0d6a3c4e419e6 # v3.1.0
5
+ SHA512 de5abf26d0975b9f0ed88e10cd4d5b4d12e25cce8c87ab6a18d8e7064697de6fc8da83e118b5a4e2819c09e2dbbfd20daeecc6a42748c019c6699666276d075a
6
+ HEAD_REF master
7
+ )
8
+
9
+ vcpkg_configure_cmake(
10
+ SOURCE_PATH ${SOURCE_PATH}
11
+ PREFER_NINJA
12
+ )
13
+
14
+ vcpkg_install_cmake()
15
+ vcpkg_copy_pdbs()
16
+ file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/qwtw/vcpkg.json ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "qwtw",
3
+ "version": "3.1.0",
4
+ "port-version": 2,
5
+ "description": "qwt-based 2D plotting library",
6
+ "homepage": "https://github.com/ig-or/qwtw",
7
+ "supports": "windows & x64 & !static",
8
+ "dependencies": [
9
+ "boost-asio",
10
+ "boost-chrono",
11
+ "boost-circular-buffer",
12
+ "boost-date-time",
13
+ "boost-filesystem",
14
+ "boost-regex",
15
+ "boost-system",
16
+ "boost-thread",
17
+ "marble",
18
+ "qt5-base",
19
+ "qt5-networkauth",
20
+ "qt5-svg",
21
+ "qwt"
22
+ ]
23
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/rabit/fix-file-conflict.patch ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/CMakeLists.txt b/CMakeLists.txt
2
+ index 08330d9..a58d669 100644
3
+ --- a/CMakeLists.txt
4
+ +++ b/CMakeLists.txt
5
+ @@ -5,10 +5,16 @@ project(rabit VERSION 0.0.0)
6
+ option(RABIT_BUILD_TESTS "Build rabit tests" OFF)
7
+ option(RABIT_BUILD_MPI "Build MPI" OFF)
8
+
9
+ +find_package(dmlc CONFIG REQUIRED)
10
+ +
11
+ add_library(rabit src/allreduce_base.cc src/allreduce_robust.cc src/engine.cc src/c_api.cc)
12
+ add_library(rabit_base src/allreduce_base.cc src/engine_base.cc src/c_api.cc)
13
+ add_library(rabit_empty src/engine_empty.cc src/c_api.cc)
14
+
15
+ +target_link_libraries(rabit dmlc::dmlc)
16
+ +target_link_libraries(rabit_base dmlc::dmlc)
17
+ +target_link_libraries(rabit_empty dmlc::dmlc)
18
+ +
19
+ set(rabit_libs rabit rabit_base rabit_empty)
20
+ if(RABIT_BUILD_MPI)
21
+ find_package(MPI REQUIRED)
22
+ @@ -22,7 +28,6 @@ if(RABIT_BUILD_TESTS)
23
+ add_library(rabit_mock STATIC src/allreduce_base.cc src/allreduce_robust.cc src/engine_mock.cc src/c_api.cc)
24
+ list(APPEND rabit_libs rabit_mock) # add to list to apply build settings, then remove
25
+ endif()
26
+ -
27
+ foreach(lib ${rabit_libs})
28
+ #include "./internal/utils.h"
29
+ target_include_directories(${lib} PUBLIC
30
+ @@ -42,7 +47,8 @@ if(RABIT_BUILD_TESTS)
31
+ if(RABIT_BUILD_MPI)
32
+ add_executable(speed_test_mpi test/speed_test.cc)
33
+ target_link_libraries(speed_test_mpi rabit_mpi)
34
+ - install(TARGETS speed_test_mpi DESTINATION bin)
35
+ + install(TARGETS speed_test_mpi DESTINATION bin)
36
+ + message("IN MPI ")
37
+ endif()
38
+ endif()
39
+
40
+ diff --git a/include/rabit/serializable.h b/include/rabit/serializable.h
41
+ index 4a3c2a1..0fd4154 100644
42
+ --- a/include/rabit/serializable.h
43
+ +++ b/include/rabit/serializable.h
44
+ @@ -9,7 +9,7 @@
45
+ #include <vector>
46
+ #include <string>
47
+ #include "./internal/utils.h"
48
+ -#include "../dmlc/io.h"
49
+ +#include <dmlc/io.h>
50
+
51
+ namespace rabit {
52
+ /*!
third-party/DPVO/Pangolin/scripts/vcpkg/ports/rabit/portfile.cmake ADDED
@@ -0,0 +1,34 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ if(VCPKG_CMAKE_SYSTEM_NAME STREQUAL "WindowsStore")
2
+ message(FATAL_ERROR "${PORT} does not currently support UWP.")
3
+ endif()
4
+
5
+ vcpkg_from_github(
6
+ OUT_SOURCE_PATH SOURCE_PATH
7
+ REPO dmlc/rabit
8
+ REF v0.1
9
+ SHA512 145fd839898cb95eaab9a88ad3301a0ccac0c8b672419ee2b8eb6ba273cc9a26e069e5ecbc37a3078e46dc64d11efb3e5ab10e5f8fed714e7add85b9e6ac2ec7
10
+ HEAD_REF master
11
+ PATCHES fix-file-conflict.patch
12
+ )
13
+
14
+ file(REMOVE_RECURSE ${SOURCE_PATH}/include/dmlc)
15
+
16
+ vcpkg_configure_cmake(
17
+ SOURCE_PATH ${SOURCE_PATH}
18
+ PREFER_NINJA
19
+ OPTIONS
20
+ -DRABIT_BUILD_TESTS=OFF
21
+ -DRABIT_BUILD_MPI=OFF
22
+ )
23
+
24
+ vcpkg_install_cmake()
25
+
26
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
27
+
28
+ vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/${PORT})
29
+
30
+ vcpkg_copy_pdbs()
31
+
32
+ # Handle copyright
33
+ file(COPY ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
34
+ file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/rabit/vcpkg.json ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rabit",
3
+ "version-string": "0.1",
4
+ "port-version": 3,
5
+ "description": "rabit is a light weight library that provides a fault tolerant interface of Allreduce and Broadcast. It is designed to support easy implementations of distributed machine learning programs, many of which fall naturally under the Allreduce abstraction.",
6
+ "homepage": "https://github.com/dmlc/rabit",
7
+ "supports": "!uwp",
8
+ "dependencies": [
9
+ "dmlc"
10
+ ]
11
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ragel/0001-remove-unistd-h.patch ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ diff --git a/ragel/main.cpp b/ragel/main.cpp
2
+ index f5fbd7b..947b1c8 100644
3
+ --- a/ragel/main.cpp
4
+ +++ b/ragel/main.cpp
5
+ @@ -24,9 +24,7 @@
6
+ #include <stdio.h>
7
+ #include <iostream>
8
+ #include <fstream>
9
+ -#include <unistd.h>
10
+ #include <sstream>
11
+ -#include <unistd.h>
12
+ #include <sys/types.h>
13
+ #include <sys/stat.h>
14
+ #include <fcntl.h>
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ragel/CMakeLists.txt ADDED
@@ -0,0 +1,128 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ cmake_minimum_required(VERSION 3.0)
2
+ project(ragel)
3
+
4
+ file(GLOB HEADERS
5
+ ragel/buffer.h
6
+ ragel/cdgoto.h
7
+ ragel/cscodegen.h
8
+ ragel/csipgoto.h
9
+ ragel/inputdata.h
10
+ ragel/rbxgoto.h
11
+ ragel/rubyflat.h
12
+ ragel/cdcodegen.h
13
+ ragel/cdipgoto.h
14
+ ragel/csfflat.h
15
+ ragel/cssplit.h
16
+ ragel/javacodegen.h
17
+ ragel/redfsm.h
18
+ ragel/rubyftable.h
19
+ ragel/cdfflat.h
20
+ ragel/cdsplit.h
21
+ ragel/csfgoto.h
22
+ ragel/cstable.h
23
+ ragel/parsedata.h
24
+ ragel/rlparse.h
25
+ ragel/rubytable.h
26
+ ragel/cdfgoto.h
27
+ ragel/cdtable.h
28
+ ragel/csflat.h
29
+ ragel/dotcodegen.h
30
+ ragel/parsetree.h
31
+ ragel/rlscan.h
32
+ ragel/version.h
33
+ ragel/cdflat.h
34
+ ragel/common.h
35
+ ragel/csftable.h
36
+ ragel/fsmgraph.h
37
+ ragel/pcheck.h
38
+ ragel/rubycodegen.h
39
+ ragel/xmlcodegen.h
40
+ ragel/cdftable.h
41
+ ragel/csgoto.h
42
+ ragel/gendata.h
43
+ ragel/ragel.h
44
+ ragel/rubyfflat.h
45
+ ragel/gocodegen.h
46
+ ragel/gotable.h
47
+ ragel/goftable.h
48
+ ragel/goflat.h
49
+ ragel/gofflat.h
50
+ ragel/gogoto.h
51
+ ragel/gofgoto.h
52
+ ragel/goipgoto.h
53
+ ragel/gotablish.h
54
+ ragel/mlcodegen.h
55
+ ragel/mltable.h
56
+ ragel/mlftable.h
57
+ ragel/mlflat.h
58
+ ragel/mlfflat.h
59
+ ragel/mlgoto.h
60
+ ragel/mlfgoto.h
61
+ )
62
+
63
+ file(GLOB SRC
64
+ ragel/main.cpp
65
+ ragel/parsetree.cpp
66
+ ragel/parsedata.cpp
67
+ ragel/fsmstate.cpp
68
+ ragel/fsmbase.cpp
69
+ ragel/fsmattach.cpp
70
+ ragel/fsmmin.cpp
71
+ ragel/fsmgraph.cpp
72
+ ragel/fsmap.cpp
73
+ ragel/rlscan.cpp
74
+ ragel/rlparse.cpp
75
+ ragel/inputdata.cpp
76
+ ragel/common.cpp
77
+ ragel/redfsm.cpp
78
+ ragel/gendata.cpp
79
+ ragel/cdcodegen.cpp
80
+ ragel/cdtable.cpp
81
+ ragel/cdftable.cpp
82
+ ragel/cdflat.cpp
83
+ ragel/cdfflat.cpp
84
+ ragel/cdgoto.cpp
85
+ ragel/cdfgoto.cpp
86
+ ragel/cdipgoto.cpp
87
+ ragel/cdsplit.cpp
88
+ ragel/javacodegen.cpp
89
+ ragel/rubycodegen.cpp
90
+ ragel/rubytable.cpp
91
+ ragel/rubyftable.cpp
92
+ ragel/rubyflat.cpp
93
+ ragel/rubyfflat.cpp
94
+ ragel/rbxgoto.cpp
95
+ ragel/cscodegen.cpp
96
+ ragel/cstable.cpp
97
+ ragel/csftable.cpp
98
+ ragel/csflat.cpp
99
+ ragel/csfflat.cpp
100
+ ragel/csgoto.cpp
101
+ ragel/csfgoto.cpp
102
+ ragel/csipgoto.cpp
103
+ ragel/cssplit.cpp
104
+ ragel/dotcodegen.cpp
105
+ ragel/xmlcodegen.cpp
106
+ ragel/gocodegen.cpp
107
+ ragel/gotable.cpp
108
+ ragel/goftable.cpp
109
+ ragel/goflat.cpp
110
+ ragel/gofflat.cpp
111
+ ragel/gogoto.cpp
112
+ ragel/gofgoto.cpp
113
+ ragel/goipgoto.cpp
114
+ ragel/gotablish.cpp
115
+ ragel/mlcodegen.cpp
116
+ ragel/mltable.cpp
117
+ ragel/mlftable.cpp
118
+ ragel/mlflat.cpp
119
+ ragel/mlfflat.cpp
120
+ ragel/mlgoto.cpp
121
+ ragel/mlfgoto.cpp
122
+ )
123
+
124
+ include_directories(aapl)
125
+
126
+ add_executable(ragel ${SRC})
127
+
128
+ install(TARGETS ragel DESTINATION tools CONFIGURATIONS Release)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ragel/config.h ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* ragel/config.h. Generated from config.h.in by configure. */
2
+ /* ragel/config.h.in. Generated from configure.in by autoheader. */
3
+
4
+ /* Name of package */
5
+ #define PACKAGE "ragel"
6
+
7
+ /* Define to the address where bug reports for this package should be sent. */
8
+ #define PACKAGE_BUGREPORT ""
9
+
10
+ /* Define to the full name of this package. */
11
+ #define PACKAGE_NAME "ragel"
12
+
13
+ /* Define to the full name and version of this package. */
14
+ #define PACKAGE_STRING "ragel 6.9"
15
+
16
+ /* Define to the one symbol short name of this package. */
17
+ #define PACKAGE_TARNAME "ragel"
18
+
19
+ /* Define to the home page for this package. */
20
+ #define PACKAGE_URL ""
21
+
22
+ /* Define to the version of this package. */
23
+ #define PACKAGE_VERSION "6.9"
24
+
25
+ /* Version number of package */
26
+ #define VERSION "6.9"
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ragel/portfile.cmake ADDED
@@ -0,0 +1,29 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_download_distfile(ARCHIVE
2
+ URLS "http://www.colm.net/files/ragel/ragel-6.10.tar.gz"
3
+ FILENAME "ragel-6.10.tar.gz"
4
+ SHA512 6c1fe4f6fa8546ae28b92ccfbae94355ff0d3cea346b9ae8ce4cf6c2bdbeb823e0ccd355332643ea72d3befd533a8b3030ddbf82be7ffa811c2c58cbb01aaa38
5
+ )
6
+
7
+ vcpkg_extract_source_archive_ex(
8
+ OUT_SOURCE_PATH SOURCE_PATH
9
+ ARCHIVE ${ARCHIVE}
10
+ PATCHES
11
+ 0001-remove-unistd-h.patch
12
+ )
13
+
14
+ file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
15
+ file(COPY ${CMAKE_CURRENT_LIST_DIR}/config.h DESTINATION ${SOURCE_PATH}/ragel)
16
+
17
+ vcpkg_configure_cmake(
18
+ SOURCE_PATH ${SOURCE_PATH}
19
+ PREFER_NINJA
20
+ )
21
+
22
+ vcpkg_install_cmake()
23
+
24
+ # Allow empty include directory
25
+ set(VCPKG_POLICY_EMPTY_INCLUDE_FOLDER enabled)
26
+
27
+ # Handle copyright
28
+ file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/ragel)
29
+ file(RENAME ${CURRENT_PACKAGES_DIR}/share/ragel/COPYING ${CURRENT_PACKAGES_DIR}/share/ragel/copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/ragel/vcpkg.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "ragel",
3
+ "version-string": "6.10",
4
+ "port-version": 4,
5
+ "description": "Ragel State Machine Compiler",
6
+ "homepage": "https://www.colm.net/files/ragel"
7
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/randomstr/portfile.cmake ADDED
@@ -0,0 +1,18 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO offscale/c89randomstr
4
+ REF 9d577c4343913a330ef32b93ed12b8942808bbbc
5
+ SHA512 7adfac8000d9057b9ca230f794bff82e1628864140e08d393e3faff890848606fff72c3dd2b296a20bf3003ed035e9e4273a0599764f515b7a6ac7091e9d2949
6
+ HEAD_REF master
7
+ )
8
+
9
+ vcpkg_cmake_configure(
10
+ SOURCE_PATH "${SOURCE_PATH}"
11
+ OPTIONS
12
+ "-DBUILD_TESTING=OFF"
13
+ )
14
+ vcpkg_cmake_install()
15
+ file(INSTALL "${SOURCE_PATH}/COPYING"
16
+ DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
17
+ RENAME copyright)
18
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
third-party/DPVO/Pangolin/scripts/vcpkg/ports/randomstr/vcpkg.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "randomstr",
3
+ "version-date": "2022-02-03",
4
+ "description": "Simple randomstr function in a header-only C89 library",
5
+ "license": "0BSD",
6
+ "dependencies": [
7
+ {
8
+ "name": "vcpkg-cmake",
9
+ "host": true
10
+ },
11
+ {
12
+ "name": "vcpkg-cmake-config",
13
+ "host": true
14
+ }
15
+ ]
16
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/rang/portfile.cmake ADDED
@@ -0,0 +1,20 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO agauniyal/rang
4
+ REF v3.2
5
+ SHA512 f579aaf3bddbfa2325dd31bdbe7c32598af8a340fee62c3a1e7ed1cf189af2808b7838a5fb13b3765279ddd1e7481f6229da72e72218a4916455cf3ae12b5a68
6
+ HEAD_REF master
7
+ )
8
+
9
+ vcpkg_cmake_configure(
10
+ SOURCE_PATH "${SOURCE_PATH}"
11
+ )
12
+
13
+ vcpkg_cmake_install()
14
+
15
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/rang)
16
+ vcpkg_fixup_pkgconfig()
17
+
18
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
19
+
20
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/rang/vcpkg.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rang",
3
+ "version": "3.2",
4
+ "description": "Colors for your Terminal.",
5
+ "homepage": "https://github.com/agauniyal/rang",
6
+ "dependencies": [
7
+ {
8
+ "name": "vcpkg-cmake",
9
+ "host": true
10
+ },
11
+ {
12
+ "name": "vcpkg-cmake-config",
13
+ "host": true
14
+ }
15
+ ]
16
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/range-v3-vs2015/portfile.cmake ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO Microsoft/Range-V3-VS2015
4
+ REF 423bcae5cf18948591361329784d3b12ef41711b
5
+ SHA512 c6756bc6b5131c4c0ffb96550fb40decf734fc8c30e3d51c5c2bf03aae4d7426de36e896a1abf0a200a49a3906d4b60c1cf52f43504554b64d89c91de3e92746
6
+ HEAD_REF master
7
+ )
8
+
9
+ file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/range-v3-vs2015)
10
+ file(RENAME ${CURRENT_PACKAGES_DIR}/share/range-v3-vs2015/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/range-v3-vs2015/copyright)
11
+ file(INSTALL ${SOURCE_PATH}/include DESTINATION ${CURRENT_PACKAGES_DIR} FILES_MATCHING PATTERN "*.hpp")
12
+ vcpkg_copy_pdbs()
third-party/DPVO/Pangolin/scripts/vcpkg/ports/range-v3-vs2015/vcpkg.json ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "range-v3-vs2015",
3
+ "version-string": "20151130-vcpkg5",
4
+ "port-version": 1,
5
+ "description": "Range library for C++11/14/17.",
6
+ "homepage": "https://github.com/Microsoft/Range-V3-VS2015"
7
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/range-v3/portfile.cmake ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO ericniebler/range-v3
4
+ REF 83783f578e0e6666d68a3bf17b0038a80e62530e # 2021-11-2
5
+ SHA512 f0953e3c4e25ddf2f94b583080b8966faf1973243e01f77d23f8c04c2e0352003e4bd12490a46176472ad46c80dec99a1a8880a9bde8006eb01e3c3d8eee2fb4
6
+ HEAD_REF master
7
+ )
8
+
9
+ vcpkg_cmake_configure(
10
+ SOURCE_PATH "${SOURCE_PATH}"
11
+ OPTIONS
12
+ -DRANGE_V3_TESTS=OFF
13
+ -DRANGE_V3_EXAMPLES=OFF
14
+ -DRANGE_V3_PERF=OFF
15
+ -DRANGE_V3_HEADER_CHECKS=OFF
16
+ )
17
+
18
+ vcpkg_cmake_install()
19
+
20
+ vcpkg_cmake_config_fixup(CONFIG_PATH lib/cmake/range-v3)
21
+
22
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/lib")
23
+
24
+ vcpkg_copy_pdbs()
25
+
26
+ file(INSTALL "${SOURCE_PATH}/LICENSE.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/range-v3/vcpkg.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "range-v3",
3
+ "version-date": "2021-11-02",
4
+ "description": "Range library for C++11/14/17/20.",
5
+ "homepage": "https://github.com/ericniebler/range-v3",
6
+ "dependencies": [
7
+ {
8
+ "name": "vcpkg-cmake",
9
+ "host": true
10
+ },
11
+ {
12
+ "name": "vcpkg-cmake-config",
13
+ "host": true
14
+ }
15
+ ]
16
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/rapidcheck/portfile.cmake ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
2
+
3
+ vcpkg_from_github(
4
+ OUT_SOURCE_PATH SOURCE_PATH
5
+ REPO emil-e/rapidcheck
6
+ REF 08b505857e32d52a20b2240b5125d937d67a6d86
7
+ SHA512 d71d17354d2597a168be935e03b1330fc96ff12d6551b6bd34ef8f6c2ba69f7f9bff865afd6a6a59c48496bcc9ddf997b07112d80c761d909f7cd9ef93a7464b
8
+ HEAD_REF master
9
+ )
10
+
11
+ vcpkg_cmake_configure(
12
+ SOURCE_PATH ${SOURCE_PATH}
13
+ OPTIONS
14
+ -DRC_INSTALL_ALL_EXTRAS=ON
15
+ )
16
+
17
+ vcpkg_cmake_install()
18
+ vcpkg_cmake_config_fixup(CONFIG_PATH share/${PORT}/cmake)
19
+ vcpkg_copy_pdbs()
20
+
21
+ file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share)
22
+
23
+ configure_file(${SOURCE_PATH}/LICENSE.md ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright COPYONLY)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/rapidcheck/vcpkg.json ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rapidcheck",
3
+ "version-date": "2021-12-20",
4
+ "description": "A property-based testing library for C++ (a la QuickCheck) with the goal of being simple to use with as little boilerplate as possible.",
5
+ "homepage": "https://github.com/emil-e/rapidcheck",
6
+ "dependencies": [
7
+ {
8
+ "name": "vcpkg-cmake",
9
+ "host": true
10
+ },
11
+ {
12
+ "name": "vcpkg-cmake-config",
13
+ "host": true
14
+ }
15
+ ]
16
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/rapidcsv/portfile.cmake ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ vcpkg_from_github(
2
+ OUT_SOURCE_PATH SOURCE_PATH
3
+ REPO d99kris/rapidcsv
4
+ REF v8.53
5
+ SHA512 64a6100f1adf90eeaa4a513fbcf4ffd611a40b1f41b6e88eeda6c73c360e26c5a7cc6fc68a65bb2dff5f72ba663a976d2922e3114468dbd8c291c7eef211ae1f
6
+ HEAD_REF master
7
+ )
8
+
9
+ vcpkg_cmake_configure(
10
+ SOURCE_PATH "${SOURCE_PATH}"
11
+ )
12
+ vcpkg_cmake_install()
13
+
14
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
15
+
16
+ file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/rapidcsv/vcpkg.json ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rapidcsv",
3
+ "version": "8.53",
4
+ "description": "Rapidcsv is a C++ header-only library for CSV parsing.",
5
+ "homepage": "https://github.com/d99kris/rapidcsv/",
6
+ "dependencies": [
7
+ {
8
+ "name": "vcpkg-cmake",
9
+ "host": true
10
+ }
11
+ ]
12
+ }
third-party/DPVO/Pangolin/scripts/vcpkg/ports/rapidjson/portfile.cmake ADDED
@@ -0,0 +1,31 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #header-only library
2
+ vcpkg_from_github(
3
+ OUT_SOURCE_PATH SOURCE_PATH
4
+ REPO Tencent/rapidjson
5
+ REF ce81bc9edfe773667a7a4454ba81dac72ed4364c # accessed on 2020-09-14
6
+ SHA512 a1bbc5668fca9ee34b05ae424a5177b66beaf7b3b4cdfbb3cb067fc58ce91717b4030e2c268ad32e4aa4a7ef59ab5e3aae05ff71d0d91d463eafa7d2e077df07
7
+ HEAD_REF master
8
+ )
9
+
10
+ # Use RapidJSON's own build process, skipping examples and tests
11
+ vcpkg_cmake_configure(
12
+ SOURCE_PATH "${SOURCE_PATH}"
13
+ OPTIONS
14
+ -DRAPIDJSON_BUILD_DOC:BOOL=OFF
15
+ -DRAPIDJSON_BUILD_EXAMPLES:BOOL=OFF
16
+ -DRAPIDJSON_BUILD_TESTS:BOOL=OFF
17
+ -DCMAKE_INSTALL_DIR:STRING=cmake
18
+ )
19
+ vcpkg_cmake_install()
20
+
21
+ vcpkg_cmake_config_fixup(CONFIG_PATH cmake)
22
+
23
+ file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/lib" "${CURRENT_PACKAGES_DIR}/debug" "${CURRENT_PACKAGES_DIR}/share/doc")
24
+
25
+ file(READ "${CURRENT_PACKAGES_DIR}/share/rapidjson/RapidJSONConfig.cmake" _contents)
26
+ string(REPLACE "\${RapidJSON_SOURCE_DIR}" "\${RapidJSON_CMAKE_DIR}/../.." _contents "${_contents}")
27
+ string(REPLACE "set( RapidJSON_SOURCE_DIR \"${SOURCE_PATH}\")" "" _contents "${_contents}")
28
+ string(REPLACE "set( RapidJSON_DIR \"${CURRENT_BUILDTREES_DIR}/${TARGET_TRIPLET}-rel\")" "" _contents "${_contents}")
29
+ file(WRITE "${CURRENT_PACKAGES_DIR}/share/rapidjson/RapidJSONConfig.cmake" "${_contents}\nset(RAPIDJSON_INCLUDE_DIRS \"\${RapidJSON_INCLUDE_DIRS}\")\n")
30
+
31
+ file(INSTALL "${SOURCE_PATH}/license.txt" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
third-party/DPVO/Pangolin/scripts/vcpkg/ports/rapidjson/vcpkg.json ADDED
@@ -0,0 +1,17 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "name": "rapidjson",
3
+ "version-date": "2020-09-14",
4
+ "port-version": 2,
5
+ "description": "A fast JSON parser/generator for C++ with both SAX/DOM style API <http://rapidjson.org/>",
6
+ "homepage": "http://rapidjson.org/",
7
+ "dependencies": [
8
+ {
9
+ "name": "vcpkg-cmake",
10
+ "host": true
11
+ },
12
+ {
13
+ "name": "vcpkg-cmake-config",
14
+ "host": true
15
+ }
16
+ ]
17
+ }