We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c682643 commit d8c0d61Copy full SHA for d8c0d61
src/CMakeLists.txt
@@ -356,6 +356,14 @@ if(GRAPHQL_UPDATE_VERSION)
356
update_version_rc(graphqlclient)
357
endif()
358
359
+if(WIN32 AND BUILD_SHARED_LIBS)
360
+ target_compile_definitions(graphqlclient
361
+ PUBLIC GRAPHQL_DLLEXPORTS
362
+ PRIVATE IMPL_GRAPHQLCLIENT_DLL)
363
+
364
+ add_version_rc(graphqlclient)
365
+endif()
366
367
# RapidJSON is the only option for JSON serialization used in this project, but if you want
368
# to use another JSON library you can implement an alternate version of the functions in
369
# JSONResponse.cpp to serialize to and from GraphQLResponse and build graphqljson from that.
0 commit comments