Sha256: 54848c61cfb50e7648e557383436f3137a393fbf3b3f9ddb36251d4b9f372bde

Contents?: true

Size: 556 Bytes

Versions: 6

Compression:

Stored size: 556 Bytes

Contents

# Copyright 2019-present, GraphQL Foundation

find_package(Git QUIET)

# default version string
set(LIBGRAPHQLPARSER_VERSION "0.0-dev")

if(GIT_EXECUTABLE AND EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/.git)
  execute_process(COMMAND ${GIT_EXECUTABLE} describe --tags
                  WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
                  OUTPUT_VARIABLE LIBGRAPHQLPARSER_VERSION
                  ERROR_QUIET
                  OUTPUT_STRIP_TRAILING_WHITESPACE
    )
  string(SUBSTRING ${LIBGRAPHQLPARSER_VERSION} 1 -1 LIBGRAPHQLPARSER_VERSION)
endif()

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails-graphql-0.2.1 ext/libgraphqlparser/cmake/version.cmake
rails-graphql-0.2.0 ext/libgraphqlparser/cmake/version.cmake
rails-graphql-0.1.3 ext/libgraphqlparser/cmake/version.cmake
rails-graphql-0.1.2 ext/libgraphqlparser/cmake/version.cmake
rails-graphql-0.1.1 ext/libgraphqlparser/cmake/version.cmake
rails-graphql-0.1.0 ext/libgraphqlparser/cmake/version.cmake