Uploaded image for project: 'Open Development'
  1. Open Development
  2. OPEN-297

Remove dependence on sed and wc for build number generation

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Unset
    • Resolution: Released
    • Component/s: None
    • Labels:
      None
    • Environment:
      -

      Description

      A handy macro was added in CMake 3.1.0 that allows working copy info to be grabbed via CMake. (See: http://www.cmake.org/cmake/help/v3.1/module/FindHg.html#module:FindHg )

      Currently, the viewer's BuildVersion.cmake uses a combination of Hg, wc, and sed to find and parse the repo revision. With HG_WC_INFO, the code is greatly simplified and the requirements of wc and sed and dropped entirely (Less dependence cygwin is always good!)

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              cinder.roxley Cinder Roxley
              Contributor:
              Cinder Roxley
            • Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: