git tag check is wrong in general (tested with version v3.5.0)

XMLWordPrintable

    • Type: Bug
    • Resolution: resolved
    • Priority: Minor
    • Component/s: SW
    • None

      The rogue tag check fails for building rogue as external package:
      The tag check should define the git directory within rogue source tree otherwise the wrong source tree is picked up in cmake external package compilations
      execute_process (

      • COMMAND ${GIT_EXECUTABLE} describe --tags --dirty
        + COMMAND ${GIT_EXECUTABLE} --git-dir=${CMAKE_SOURCE_DIR}/.git describe --tags --dirty
        OUTPUT_VARIABLE ROGUE_VERSION
        OUTPUT_STRIP_TRAILING_WHITESPACE)

              Assignee:
              Matthias Wittgen
              Reporter:
              Matthias Wittgen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: