From e946273950170f9427a980a7855017a1b4b65281 Mon Sep 17 00:00:00 2001 From: Zhihao Yuan Date: Tue, 9 Apr 2019 16:34:58 -0500 Subject: [PEGTL] Upgrade to 2.8.0 Migration guide: https://github.com/taocpp/PEGTL/blob/master/doc/Migration-Guide.md#version-280 --- ports/cppgraphqlgen/bigobj.patch | 12 ++++++++++++ ports/cppgraphqlgen/portfile.cmake | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 ports/cppgraphqlgen/bigobj.patch (limited to 'ports/cppgraphqlgen') diff --git a/ports/cppgraphqlgen/bigobj.patch b/ports/cppgraphqlgen/bigobj.patch new file mode 100644 index 000000000..396dd58e6 --- /dev/null +++ b/ports/cppgraphqlgen/bigobj.patch @@ -0,0 +1,12 @@ +--- CMakeLists.txt.orig 2019-04-11 10:26:38.546721500 -0500 ++++ CMakeLists.txt 2019-04-11 10:27:19.863951400 -0500 +@@ -34,6 +34,9 @@ add_executable(schemagen + GraphQLTree.cpp + GraphQLResponse.cpp + SchemaGenerator.cpp) ++if(MSVC) ++ set_source_files_properties(GraphQLTree.cpp PROPERTIES COMPILE_FLAGS /bigobj) ++endif() + target_link_libraries(schemagen PRIVATE taocpp::pegtl) + target_include_directories(schemagen PRIVATE + ${CMAKE_CURRENT_SOURCE_DIR}/include) diff --git a/ports/cppgraphqlgen/portfile.cmake b/ports/cppgraphqlgen/portfile.cmake index 7444c39c5..ba3d6036d 100644 --- a/ports/cppgraphqlgen/portfile.cmake +++ b/ports/cppgraphqlgen/portfile.cmake @@ -6,6 +6,8 @@ vcpkg_from_github( REF v2.1.0 SHA512 6fdeade25fc5c4af18d0288b80044a94cc9dcba9eed1640ec2cce06741b874f027930761964ed72073a25e083c0cf2fb828b9cf9732099c8a4f185776b1e1b8a HEAD_REF master + PATCHES + bigobj.patch ) vcpkg_configure_cmake( -- cgit v1.2.3