mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 06:08:07 +08:00
[quantlib] update to 1.24 (#21068)
* [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24 * [quantlib] update to 1.24
This commit is contained in:
parent
87c03082e5
commit
7d3aeba684
@ -1,13 +0,0 @@
|
|||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index d046251cc..d8201bf6a 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -44,8 +44,6 @@ if (Boost_FOUND)
|
|
||||||
endif (Boost_FOUND)
|
|
||||||
|
|
||||||
add_subdirectory(ql)
|
|
||||||
-add_subdirectory(Examples)
|
|
||||||
-add_subdirectory(test-suite)
|
|
||||||
|
|
||||||
#
|
|
||||||
# Copy across the ANSI config file into the build directory. Users
|
|
@ -1,15 +0,0 @@
|
|||||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
|
||||||
index 62ab08a115..2b383c1dd5 100644
|
|
||||||
--- a/CMakeLists.txt
|
|
||||||
+++ b/CMakeLists.txt
|
|
||||||
@@ -2,6 +2,10 @@ cmake_minimum_required()
|
|
||||||
|
|
||||||
project(QuantLib)
|
|
||||||
|
|
||||||
+if(APPLE AND NOT CMAKE_CXX_STANDARD)
|
|
||||||
+ set(CMAKE_CXX_STANDARD 11)
|
|
||||||
+endif()
|
|
||||||
+
|
|
||||||
include(CTest)
|
|
||||||
include(${CMAKE_CURRENT_LIST_DIR}/cmake/quantlib.cmake)
|
|
||||||
|
|
@ -1,26 +1,23 @@
|
|||||||
vcpkg_from_github(
|
vcpkg_from_github(
|
||||||
OUT_SOURCE_PATH SOURCE_PATH
|
OUT_SOURCE_PATH SOURCE_PATH
|
||||||
REPO lballabio/QuantLib
|
REPO lballabio/QuantLib
|
||||||
REF QuantLib-v1.22
|
REF QuantLib-v1.24
|
||||||
SHA512 279c2e9273dd0fbc03d19ac19814e8a3b5544545cc1441982232f89bd313fe76b6e252dbcae8a3d146ecc4f1d1e64632ac412096b89da882ba879a66776fdb91
|
SHA512 1a63d90363cda69e20e40a60a2d6357f632fac997df520b949e73feb256dac8a999395d0ebe94734ac630e9104e512b0a545f6a2111b287a41e9128127aa5bb0
|
||||||
HEAD_REF master
|
HEAD_REF master
|
||||||
PATCHES
|
|
||||||
disable-examples-tests.patch
|
|
||||||
fix-mac-build.patch # fixed in next release
|
|
||||||
)
|
)
|
||||||
|
|
||||||
string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "dynamic" USE_BOOST_DYNAMIC_LIBRARIES)
|
if (VCPKG_TARGET_IS_WINDOWS)
|
||||||
|
# This can (and should) be removed if QuantLib ever supports dynamically linking on Windows
|
||||||
set(QL_MSVC_RUNTIME ${VCPKG_LIBRARY_LINKAGE})
|
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
||||||
|
endif()
|
||||||
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
|
|
||||||
|
|
||||||
vcpkg_configure_cmake(
|
vcpkg_configure_cmake(
|
||||||
SOURCE_PATH ${SOURCE_PATH}
|
SOURCE_PATH ${SOURCE_PATH}
|
||||||
PREFER_NINJA
|
PREFER_NINJA
|
||||||
OPTIONS
|
OPTIONS
|
||||||
-DUSE_BOOST_DYNAMIC_LIBRARIES=${USE_BOOST_DYNAMIC_LIBRARIES}
|
-DQL_BUILD_BENCHMARK=OFF
|
||||||
-DMSVC_RUNTIME=${QL_MSVC_RUNTIME}
|
-DQL_BUILD_EXAMPLES=OFF
|
||||||
|
-DQL_BUILD_TEST_SUITE=OFF
|
||||||
)
|
)
|
||||||
|
|
||||||
vcpkg_install_cmake()
|
vcpkg_install_cmake()
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "quantlib",
|
"name": "quantlib",
|
||||||
"version": "1.22",
|
"version": "1.24",
|
||||||
"description": "The QuantLib C++ library",
|
"description": "The QuantLib C++ library",
|
||||||
"homepage": "https://www.quantlib.org/",
|
"homepage": "https://www.quantlib.org/",
|
||||||
|
"supports": "!(windows & !static)",
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"boost-accumulators",
|
"boost-accumulators",
|
||||||
"boost-algorithm",
|
"boost-algorithm",
|
||||||
@ -30,6 +31,7 @@
|
|||||||
"boost-serialization",
|
"boost-serialization",
|
||||||
"boost-signals2",
|
"boost-signals2",
|
||||||
"boost-smart-ptr",
|
"boost-smart-ptr",
|
||||||
|
"boost-test",
|
||||||
"boost-thread",
|
"boost-thread",
|
||||||
"boost-tuple",
|
"boost-tuple",
|
||||||
"boost-type-traits",
|
"boost-type-traits",
|
||||||
|
@ -5777,7 +5777,7 @@
|
|||||||
"port-version": 1
|
"port-version": 1
|
||||||
},
|
},
|
||||||
"quantlib": {
|
"quantlib": {
|
||||||
"baseline": "1.22",
|
"baseline": "1.24",
|
||||||
"port-version": 0
|
"port-version": 0
|
||||||
},
|
},
|
||||||
"quaternions": {
|
"quaternions": {
|
||||||
|
@ -1,5 +1,10 @@
|
|||||||
{
|
{
|
||||||
"versions": [
|
"versions": [
|
||||||
|
{
|
||||||
|
"git-tree": "d8519a43e706ff22152e65942f48e5abd75bb76f",
|
||||||
|
"version": "1.24",
|
||||||
|
"port-version": 0
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"git-tree": "b2d3e38a4ca6467154bf1a46fd2663d937c3858b",
|
"git-tree": "b2d3e38a4ca6467154bf1a46fd2663d937c3858b",
|
||||||
"version": "1.22",
|
"version": "1.22",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user