Skip to content

Commit 00a6d4b

Browse files
authored
Merge pull request #289 from wravery/find-pegtl
Call find_package(PEGTL) implicitly from find_package(cppgraphqlgen CONFIG)
2 parents 2175116 + b4c377c commit 00a6d4b

12 files changed

+20
-19
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ endfunction()
107107

108108
find_package(Threads MODULE REQUIRED)
109109

110-
find_package(pegtl 3.2.6 QUIET CONFIG)
110+
find_package(pegtl 3.2.7 QUIET CONFIG)
111111
if(NOT pegtl_FOUND)
112112
# If a compatible version of PEGTL is not already installed, build and install it from the submodule directory.
113113
set(PEGTL_BUILD_TESTS OFF CACHE BOOL "Disable PEGTL tests")

cmake/cppgraphqlgen-config.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,6 @@ The following functions are defined to help with code generation and build targe
2929

3030
include(CMakeFindDependencyMacro)
3131
find_package(Threads REQUIRED)
32+
find_package(pegtl 3.2.7 CONFIG REQUIRED)
3233
include("${CMAKE_CURRENT_LIST_DIR}/cppgraphqlgen-targets.cmake")
3334
include("${CMAKE_CURRENT_LIST_DIR}/cppgraphqlgen-functions.cmake")

cmake/version.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.5.2
1+
4.5.3

include/graphqlservice/internal/Version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,11 @@
1010

1111
namespace graphql::internal {
1212

13-
constexpr std::string_view FullVersion { "4.5.2" };
13+
constexpr std::string_view FullVersion { "4.5.3" };
1414

1515
constexpr size_t MajorVersion = 4;
1616
constexpr size_t MinorVersion = 5;
17-
constexpr size_t PatchVersion = 2;
17+
constexpr size_t PatchVersion = 3;
1818

1919
} // namespace graphql::internal
2020

res/ClientGen.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#include <winver.h>
55

6-
#define GRAPHQL_RC_VERSION 4,5,2,0
7-
#define GRAPHQL_RC_VERSION_STR "4.5.2"
6+
#define GRAPHQL_RC_VERSION 4,5,3,0
7+
#define GRAPHQL_RC_VERSION_STR "4.5.3"
88

99
#ifndef DEBUG
1010
#define VER_DEBUG 0

res/SchemaGen.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#include <winver.h>
55

6-
#define GRAPHQL_RC_VERSION 4,5,2,0
7-
#define GRAPHQL_RC_VERSION_STR "4.5.2"
6+
#define GRAPHQL_RC_VERSION 4,5,3,0
7+
#define GRAPHQL_RC_VERSION_STR "4.5.3"
88

99
#ifndef DEBUG
1010
#define VER_DEBUG 0

res/graphqlclient_version.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#include <winver.h>
55

6-
#define GRAPHQL_RC_VERSION 4,5,2,0
7-
#define GRAPHQL_RC_VERSION_STR "4.5.2"
6+
#define GRAPHQL_RC_VERSION 4,5,3,0
7+
#define GRAPHQL_RC_VERSION_STR "4.5.3"
88

99
#ifndef DEBUG
1010
#define VER_DEBUG 0

res/graphqljson_version.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#include <winver.h>
55

6-
#define GRAPHQL_RC_VERSION 4,5,2,0
7-
#define GRAPHQL_RC_VERSION_STR "4.5.2"
6+
#define GRAPHQL_RC_VERSION 4,5,3,0
7+
#define GRAPHQL_RC_VERSION_STR "4.5.3"
88

99
#ifndef DEBUG
1010
#define VER_DEBUG 0

res/graphqlpeg_version.rc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33

44
#include <winver.h>
55

6-
#define GRAPHQL_RC_VERSION 4,5,2,0
7-
#define GRAPHQL_RC_VERSION_STR "4.5.2"
6+
#define GRAPHQL_RC_VERSION 4,5,3,0
7+
#define GRAPHQL_RC_VERSION_STR "4.5.3"
88

99
#ifndef DEBUG
1010
#define VER_DEBUG 0

0 commit comments

Comments
 (0)