Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-8470

CMake: -Dminimal=On causes build error

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.10/00
    • Component/s: Build System
    • Labels:
      None
    • Environment:

      Linux 64 / Cmake 3.5.2

      Description

      With

      cmake  -DCMAKE_BUILD_TYPE=RelWithDebInfo -DLLVM_BUILD_TYPE"RelWithDebInfo -Dminimal=On ../src 

      I get

      make[2]: *** No rule to make target `/home/axel/build/root/trunk/src/root.exe', needed by `tutorials/hsimple.root'.  Stop.
      make[1]: *** [CMakeFiles/hsimple.dir/all] Error 2
      make[1]: *** Waiting for unfinished jobs....

      even though I can build root.exe:

      $ make root.exe
      ...
      [ 96%] Built target G__Core
      [100%] Built target Base
      [100%] Built target gitcommit
      [100%] Built target BaseTROOT
      [100%] Built target Core
      [100%] Built target Rint
      [100%] Built target root.exe

        Attachments

          Activity

            People

            Assignee:
            mato Pere Mato Vila
            Reporter:
            axel Axel Naumann
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Actual End: