Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-29267

CMAKE_BUILD_TOOL is deprecated in cmake version 3.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Fixed
    • Component/s: cmakebuilder-plugin
    • Labels:
      None
    • Environment:
      cmakebuilder-plugin version 2.0
    • Similar Issues:

      Description

      Latest version of cmakebuilder-plugin tries to extract the cmake-variable 'CMAKE_BUILD_TOOL' from the generated file 'CMakeCache.txt'.

      The latest version of cmake v 3.0.2 uses the cache variable 'CMAKE_MAKE_PROGRAM' instead (see http://www.cmake.org/cmake/help/v3.0/variable/CMAKE_MAKE_PROGRAM.html#variable:CMAKE_MAKE_PROGRAM). It does no longer use the old variable name (see http://www.cmake.org/cmake/help/v3.0/variable/CMAKE_BUILD_TOOL.html) and doesn't write the old variable back into the file 'CMakeCache.txt'.

      So the build fails, because the plugin cannot extract the old variable from the cache.

        Attachments

          Activity

            People

            Assignee:
            15knots Martin Weber
            Reporter:
            pobinger Gerhard Pobinger
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: