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

Remove dependence on sed and wc for build number generation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Unset
    • Resolution: Released
    • None
    • None
    • -

    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

            Unassigned Unassigned
            cinder.roxley Cinder Roxley
            Cinder Roxley Cinder Roxley
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: