@@ -207,52 +207,52 @@ if(GRAPHQL_UPDATE_SAMPLES)
207207 DEPENDS updated_introspection)
208208endif ()
209209
210- # graphqlservice_nointrospection
211- add_library (graphqlservice_nointrospection
210+ # graphqlservice
211+ add_library (graphqlservice
212212 GraphQLService.cpp
213213 GraphQLSchema.cpp
214214 Validation.cpp)
215- add_library (cppgraphqlgen::graphqlservice_nointrospection ALIAS graphqlservice_nointrospection )
216- target_link_libraries (graphqlservice_nointrospection PUBLIC
215+ add_library (cppgraphqlgen::graphqlservice ALIAS graphqlservice )
216+ target_link_libraries (graphqlservice PUBLIC
217217 graphqlpeg
218218 graphqlresponse
219219 Threads::Threads)
220220
221221if (GRAPHQL_UPDATE_SAMPLES)
222222 # Even though this target doesn't build IntrospectionSchema.cpp, it still
223223 # depends on IntrospectionSchema.h for some enum definitions.
224- add_dependencies (graphqlservice_nointrospection update_introspection)
224+ add_dependencies (graphqlservice update_introspection)
225225endif ()
226226
227227if (GRAPHQL_UPDATE_VERSION)
228- update_version_rc(graphqlservice_nointrospection )
228+ update_version_rc(graphqlservice )
229229endif ()
230230
231231if (WIN32 AND BUILD_SHARED_LIBS )
232- target_compile_definitions (graphqlservice_nointrospection
232+ target_compile_definitions (graphqlservice
233233 PUBLIC GRAPHQL_DLLEXPORTS
234234 PRIVATE IMPL_GRAPHQLSERVICE_DLL)
235235
236- add_version_rc(graphqlservice_nointrospection )
236+ add_version_rc(graphqlservice )
237237endif ()
238238
239- # graphqlservice
240- add_library (graphqlservice
239+ # graphqlintrospection
240+ add_library (graphqlintrospection
241241 Introspection.cpp
242242 IntrospectionSchema.cpp)
243- add_library (cppgraphqlgen::graphqlservice ALIAS graphqlservice )
244- target_link_libraries (graphqlservice PUBLIC graphqlservice_nointrospection )
243+ add_library (cppgraphqlgen::graphqlintrospection ALIAS graphqlintrospection )
244+ target_link_libraries (graphqlintrospection PUBLIC graphqlservice )
245245
246246if (GRAPHQL_UPDATE_VERSION)
247- update_version_rc(graphqlservice )
247+ update_version_rc(graphqlintrospection )
248248endif ()
249249
250250if (WIN32 AND BUILD_SHARED_LIBS )
251- target_compile_definitions (graphqlservice
251+ target_compile_definitions (graphqlintrospection
252252 PUBLIC GRAPHQL_DLLEXPORTS
253253 PRIVATE IMPL_GRAPHQLINTROSPECTION_DLL)
254254
255- add_version_rc(graphqlservice )
255+ add_version_rc(graphqlintrospection )
256256endif ()
257257
258258# RapidJSON is the only option for JSON serialization used in this project, but if you want
@@ -289,7 +289,7 @@ endif()
289289if (BUILD_GRAPHQLJSON)
290290 option (GRAPHQL_BUILD_TESTS "Build the tests and sample schema library." ON )
291291
292- target_link_libraries (graphqljson PUBLIC graphqlservice )
292+ target_link_libraries (graphqljson PUBLIC graphqlintrospection )
293293
294294 install (TARGETS graphqljson
295295 EXPORT cppgraphqlgen-targets
@@ -298,16 +298,16 @@ if(BUILD_GRAPHQLJSON)
298298 LIBRARY DESTINATION lib)
299299 install (FILES ${CMAKE_CURRENT_SOURCE_DIR} /../include /graphqlservice/JSONResponse.h
300300 CONFIGURATIONS ${GRAPHQL_INSTALL_CONFIGURATIONS}
301- DESTINATION ${GRAPHQL_INSTALL_INCLUDE_DIR} /graphqlservice )
301+ DESTINATION ${GRAPHQL_INSTALL_INCLUDE_DIR} /graphqlintrospection )
302302else ()
303303 set (GRAPHQL_BUILD_TESTS OFF CACHE BOOL "GRAPHQL_BUILD_TESTS depends on BUILD_GRAPHQLJSON" FORCE)
304304endif ()
305305
306306install (TARGETS
307307 graphqlpeg
308308 graphqlresponse
309- graphqlservice_nointrospection
310309 graphqlservice
310+ graphqlintrospection
311311 EXPORT cppgraphqlgen-targets
312312 RUNTIME DESTINATION bin
313313 ARCHIVE DESTINATION lib
@@ -321,7 +321,7 @@ install(FILES
321321 ${CMAKE_CURRENT_SOURCE_DIR} /../include /graphqlservice/GraphQLGrammar.h
322322 ${CMAKE_CURRENT_SOURCE_DIR} /../include /graphqlservice/GraphQLTree.h
323323 CONFIGURATIONS ${GRAPHQL_INSTALL_CONFIGURATIONS}
324- DESTINATION ${GRAPHQL_INSTALL_INCLUDE_DIR} /graphqlservice )
324+ DESTINATION ${GRAPHQL_INSTALL_INCLUDE_DIR} /graphqlintrospection )
325325
326326install (FILES
327327 ${CMAKE_CURRENT_SOURCE_DIR} /../include /graphqlservice/internal /SortedMap.h
@@ -333,7 +333,7 @@ install(FILES
333333 ${CMAKE_CURRENT_SOURCE_DIR} /../include /graphqlservice/introspection/Introspection.h
334334 ${CMAKE_CURRENT_SOURCE_DIR} /../include /graphqlservice/introspection/IntrospectionSchema.h
335335 CONFIGURATIONS ${GRAPHQL_INSTALL_CONFIGURATIONS}
336- DESTINATION ${GRAPHQL_INSTALL_INCLUDE_DIR} /graphqlservice /introspection)
336+ DESTINATION ${GRAPHQL_INSTALL_INCLUDE_DIR} /graphqlintrospection /introspection)
337337
338338install (EXPORT cppgraphqlgen-targets
339339 NAMESPACE cppgraphqlgen::
0 commit comments