File tree Expand file tree Collapse file tree 13 files changed +207
-9
lines changed Expand file tree Collapse file tree 13 files changed +207
-9
lines changed Original file line number Diff line number Diff line change
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ #include <winver.h>
5
+
6
+ #define SCHEMAGEN_RC_VERSION @SCHEMAGEN_RC_VERSION@
7
+ #define SCHEMAGEN_RC_VERSION_STR "@SCHEMAGEN_RC_VERSION_STR@"
8
+
9
+ #ifndef DEBUG
10
+ #define VER_DEBUG 0
11
+ #else
12
+ #define VER_DEBUG VS_FF_DEBUG
13
+ #endif
14
+
15
+ VS_VERSION_INFO VERSIONINFO
16
+ FILEVERSION SCHEMAGEN_RC_VERSION
17
+ PRODUCTVERSION SCHEMAGEN_RC_VERSION
18
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
19
+ FILEFLAGS VER_DEBUG
20
+ FILEOS VOS__WINDOWS32
21
+ FILETYPE VFT_APP
22
+ FILESUBTYPE VFT2_UNKNOWN
23
+ BEGIN
24
+ BLOCK "StringFileInfo"
25
+ BEGIN
26
+ BLOCK "040904B0"
27
+ BEGIN
28
+ VALUE "CompanyName", "Microsoft Corporation"
29
+ VALUE "FileDescription", "Code generator for https://github.com/microsoft/cppgraphqlgen"
30
+ VALUE "FileVersion", SCHEMAGEN_RC_VERSION_STR
31
+ VALUE "InternalName", "schemagen"
32
+ VALUE "LegalCopyright", "Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License."
33
+ VALUE "OriginalFilename", "schemagen.exe"
34
+ VALUE "ProductName", "CppGraphQLGen"
35
+ VALUE "ProductVersion", SCHEMAGEN_RC_VERSION_STR
36
+ END
37
+ END
38
+
39
+ BLOCK "VarFileInfo"
40
+ BEGIN
41
+ VALUE "Translation", 0x409, 1200
42
+ END
43
+ END
Original file line number Diff line number Diff line change
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ #pragma once
5
+
6
+ #ifndef VERSION_H
7
+ #define VERSION_H
8
+
9
+ #include <string_view>
10
+
11
+ namespace graphql ::internal {
12
+
13
+ constexpr std ::string_view FullVersion { "@PROJECT_VERSION@" };
14
+
15
+ constexpr size_t MajorVersion = @PROJECT_VERSION_MAJOR @;
16
+ constexpr size_t MinorVersion = @PROJECT_VERSION_MINOR @;
17
+ constexpr size_t PatchVersion = @PROJECT_VERSION_PATCH @;
18
+
19
+ } // namespace graphql::internal
20
+
21
+ #endif // VERSION_H
Original file line number Diff line number Diff line change
1
+ // Copyright (c) Microsoft Corporation. All rights reserved.
2
+ // Licensed under the MIT License.
3
+
4
+ #include <winver.h>
5
+
6
+ #define GRAPHQL_RC_VERSION @GRAPHQL_RC_VERSION@
7
+ #define GRAPHQL_RC_VERSION_STR "@GRAPHQL_RC_VERSION_STR@"
8
+
9
+ #ifndef DEBUG
10
+ #define VER_DEBUG 0
11
+ #else
12
+ #define VER_DEBUG VS_FF_DEBUG
13
+ #endif
14
+
15
+ VS_VERSION_INFO VERSIONINFO
16
+ FILEVERSION GRAPHQL_RC_VERSION
17
+ PRODUCTVERSION GRAPHQL_RC_VERSION
18
+ FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
19
+ FILEFLAGS VER_DEBUG
20
+ FILEOS VOS__WINDOWS32
21
+ FILETYPE VFT_DLL
22
+ FILESUBTYPE VFT2_UNKNOWN
23
+ BEGIN
24
+ BLOCK "StringFileInfo"
25
+ BEGIN
26
+ BLOCK "040904B0"
27
+ BEGIN
28
+ VALUE "CompanyName", "Microsoft Corporation"
29
+ VALUE "FileDescription", "Shared library for https://github.com/microsoft/cppgraphqlgen"
30
+ VALUE "FileVersion", GRAPHQL_RC_VERSION_STR
31
+ VALUE "InternalName", "@GRAPHQL_RC_FILENAME@"
32
+ VALUE "LegalCopyright", "Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License."
33
+ VALUE "OriginalFilename", "@GRAPHQL_RC_FILENAME@.dll"
34
+ VALUE "ProductName", "CppGraphQLGen"
35
+ VALUE "ProductVersion", GRAPHQL_RC_VERSION_STR
36
+ END
37
+ END
38
+
39
+ BLOCK "VarFileInfo"
40
+ BEGIN
41
+ VALUE "Translation", 0x409, 1200
42
+ END
43
+ END
Original file line number Diff line number Diff line change 1
- 3.4.0
1
+ 3.4.1
Original file line number Diff line number Diff line change 20
20
21
21
#include " graphqlservice/GraphQLParse.h"
22
22
#include " graphqlservice/GraphQLResponse.h"
23
+
23
24
#include " graphqlservice/internal/SortedMap.h"
25
+ #include " graphqlservice/internal/Version.h"
24
26
25
27
#include < functional>
26
28
#include < future>
Original file line number Diff line number Diff line change 9
9
#include " graphqlservice/GraphQLSchema.h"
10
10
#include " graphqlservice/GraphQLService.h"
11
11
12
+ // Check if the library version is compatible with schemagen 3.4.1
13
+ static_assert (graphql::internal::MajorVersion == 3 , " regenerate with schemagen: major version mismatch" );
14
+ static_assert (graphql::internal::MinorVersion == 4 , " regenerate with schemagen: minor version mismatch" );
15
+
12
16
// clang-format off
13
17
#ifdef GRAPHQL_DLLEXPORTS
14
18
#ifdef IMPL_GRAPHQLINTROSPECTION_DLL
Original file line number Diff line number Diff line change 9
9
#include " graphqlservice/GraphQLSchema.h"
10
10
#include " graphqlservice/GraphQLService.h"
11
11
12
+ // Check if the library version is compatible with schemagen 3.4.1
13
+ static_assert (graphql::internal::MajorVersion == 3 , " regenerate with schemagen: major version mismatch" );
14
+ static_assert (graphql::internal::MinorVersion == 4 , " regenerate with schemagen: minor version mismatch" );
15
+
12
16
#include < memory>
13
17
#include < string>
14
18
#include < vector>
Original file line number Diff line number Diff line change 9
9
#include " graphqlservice/GraphQLSchema.h"
10
10
#include " graphqlservice/GraphQLService.h"
11
11
12
+ // Check if the library version is compatible with schemagen 3.4.1
13
+ static_assert (graphql::internal::MajorVersion == 3 , " regenerate with schemagen: major version mismatch" );
14
+ static_assert (graphql::internal::MinorVersion == 4 , " regenerate with schemagen: minor version mismatch" );
15
+
12
16
#include < memory>
13
17
#include < string>
14
18
#include < vector>
Original file line number Diff line number Diff line change 9
9
#include " graphqlservice/GraphQLSchema.h"
10
10
#include " graphqlservice/GraphQLService.h"
11
11
12
+ // Check if the library version is compatible with schemagen 3.4.1
13
+ static_assert (graphql::internal::MajorVersion == 3 , " regenerate with schemagen: major version mismatch" );
14
+ static_assert (graphql::internal::MinorVersion == 4 , " regenerate with schemagen: minor version mismatch" );
15
+
12
16
#include < memory>
13
17
#include < string>
14
18
#include < vector>
Original file line number Diff line number Diff line change 9
9
#include " graphqlservice/GraphQLSchema.h"
10
10
#include " graphqlservice/GraphQLService.h"
11
11
12
+ // Check if the library version is compatible with schemagen 3.4.1
13
+ static_assert (graphql::internal::MajorVersion == 3 , " regenerate with schemagen: major version mismatch" );
14
+ static_assert (graphql::internal::MinorVersion == 4 , " regenerate with schemagen: minor version mismatch" );
15
+
12
16
#include < memory>
13
17
#include < string>
14
18
#include < vector>
You can’t perform that action at this time.
0 commit comments