early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

View File

@@ -0,0 +1,15 @@
diff --git a/Installation/lib/cmake/CGAL/CGALConfig.cmake b/Installation/lib/cmake/CGAL/CGALConfig.cmake
index 4f3a16b..6edefb1 100644
--- a/Installation/lib/cmake/CGAL/CGALConfig.cmake
+++ b/Installation/lib/cmake/CGAL/CGALConfig.cmake
@@ -89,7 +89,9 @@ if (NOT CGAL_DATA_DIR)
if (EXISTS "${CMAKE_SOURCE_DIR}/../../data")
set(CGAL_DATA_DIR "${CMAKE_SOURCE_DIR}/../../data")
else()
- message(WARNING "CGAL_DATA_DIR cannot be deduced, set the variable CGAL_DATA_DIR to set the default value of CGAL::data_file_path()")
+ if(CGAL_TEST_SUITE)
+ message(WARNING "CGAL_DATA_DIR cannot be deduced, set the variable CGAL_DATA_DIR to set the default value of CGAL::data_file_path()")
+ endif()
endif()
endif()
endif()

64
externals/vcpkg/ports/cgal/portfile.cmake vendored Executable file
View File

@@ -0,0 +1,64 @@
# Header only
vcpkg_buildpath_length_warning(37)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO CGAL/cgal
REF v5.4.1
SHA512 2ec6167d8ebf1df121f1ac372d01862f7f3acb043deea4a334e0329976306f9c9e917cdc66b355728d3f99fdb76f5491d96f10fff660716ce27bfd3793380875
HEAD_REF master
PATCHES fix-incorrect-warning.patch # https://github.com/CGAL/cgal/pull/6649
)
vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
qt WITH_CGAL_Qt5
)
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DCGAL_HEADER_ONLY=ON
-DCGAL_INSTALL_CMAKE_DIR=share/cgal
-DBUILD_TESTING=OFF
-DBUILD_DOC=OFF
-DCGAL_BUILD_THREE_DOC=OFF
${FEATURE_OPTIONS}
MAYBE_UNUSED_VARIABLES
CGAL_BUILD_THREE_DOC
CGAL_HEADER_ONLY
WITH_CGAL_Qt5
)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup()
vcpkg_copy_pdbs()
# Clean
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug")
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/bin")
else()
foreach(ROOT "${CURRENT_PACKAGES_DIR}/bin")
file(REMOVE
"${ROOT}/cgal_create_CMakeLists"
"${ROOT}/cgal_create_cmake_script"
"${ROOT}/cgal_make_macosx_app"
)
endforeach()
endif()
file(INSTALL "${SOURCE_PATH}/Installation/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)
file(
COPY
"${SOURCE_PATH}/Installation/LICENSE.BSL"
"${SOURCE_PATH}/Installation/LICENSE.RFL"
"${SOURCE_PATH}/Installation/LICENSE.GPL"
"${SOURCE_PATH}/Installation/LICENSE.LGPL"
DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}"
)
file(INSTALL "${CMAKE_CURRENT_LIST_DIR}/usage" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}")

5
externals/vcpkg/ports/cgal/usage vendored Executable file
View File

@@ -0,0 +1,5 @@
The package cgal provides CMake targets:
find_package(CGAL CONFIG REQUIRED)
target_link_libraries(main PRIVATE CGAL::CGAL)

79
externals/vcpkg/ports/cgal/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,79 @@
{
"name": "cgal",
"version": "5.4.1",
"port-version": 1,
"description": "The Computational Geometry Algorithms Library (CGAL) is a C++ library that aims to provide easy access to efficient and reliable algorithms in computational geometry.",
"homepage": "https://github.com/CGAL/cgal",
"license": "GPL-3.0-or-later AND LGPL-3.0-or-later AND BSL-1.0",
"dependencies": [
"boost-accumulators",
"boost-algorithm",
"boost-bimap",
"boost-callable-traits",
"boost-concept-check",
"boost-container",
"boost-core",
"boost-detail",
"boost-filesystem",
"boost-functional",
"boost-fusion",
"boost-geometry",
"boost-graph",
"boost-heap",
"boost-intrusive",
"boost-iostreams",
"boost-iterator",
"boost-lambda",
"boost-logic",
"boost-math",
"boost-mpl",
"boost-multi-array",
"boost-multi-index",
"boost-multiprecision",
"boost-numeric-conversion",
"boost-optional",
"boost-parameter",
"boost-pool",
"boost-preprocessor",
"boost-property-map",
"boost-property-tree",
"boost-ptr-container",
"boost-random",
"boost-range",
"boost-serialization",
"boost-spirit",
"boost-thread",
"boost-tuple",
"boost-type-traits",
"boost-units",
"boost-utility",
"boost-variant",
"gmp",
"mpfr",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
],
"features": {
"qt": {
"description": "Qt GUI support for CGAL",
"dependencies": [
"eigen3",
"qt5-3d",
{
"name": "qt5-base",
"default-features": false
},
"qt5-script",
"qt5-svg",
"qt5-xmlpatterns"
]
}
}
}