Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-19059

Using "configure.cmd ninja" shows a warning: Unrecognized switch "ninja"

    XMLWordPrintable

Details

    Description

      Noticed by prick#5663 from community. This does not affect the configure command, it still produces an output folder despite the warning message given in this case.

      Documentation on wiki lists Ninja as a valid option:

      Build 0.4.15-dev-2355-gaf9df93 behavior:

      C:\build\reactos>configure.cmd ninja
      Detected RosBE for i386
      Creating directories in output-MinGW-i386
      Preparing reactos...
      -- The C compiler identification is GNU 8.4.0
      -- The CXX compiler identification is GNU 8.4.0
      -- Check for working C compiler: C:/RosBE/i386/bin/gcc.exe
      -- Check for working C compiler: C:/RosBE/i386/bin/gcc.exe - works
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Check for working CXX compiler: C:/RosBE/i386/bin/g++.exe
      -- Check for working CXX compiler: C:/RosBE/i386/bin/g++.exe - works
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Setting build type to Debug as none was specified.
      -- Found Git: C:/Git/cmd/git.exe (found version "2.40.1.windows.1")
      -- Found BISON: C:/RosBE/bin/bison.exe (found version "3.5.4")
      -- Found FLEX: C:/RosBE/bin/flex.exe (found version "2.6.4")
      -- Build Type: Debug
      CMake Warning at CMakeLists.txt:192 (message):
        -- Disabling precompiled headers on GCC by default CORE-17108.
       
       
      -- The ASM compiler identification is GNU
      -- Found assembler: C:/RosBE/i386/bin/gcc.exe
      -- Selected localization: all
      -- umandlg has no base address
      -- browser has no base address
      -- hotplug has no base address
      -- qcap has no base address
      -- mydocs has no base address
      -- dbgeng has no base address
      -- fusion has no base address
      -- fusion_1_1 has no base address
      -- fusion_2_0 has no base address
      -- profmap has no base address
      -- regapi has no base address
      -- storprop has no base address
      -- ntprint has no base address
      -- Configuring done
      -- Generating done
      -- Build files have been written to: C:/build/reactos/output-MinGW-i386
       
      Configure script complete! Execute appropriate build commands (ex: ninja, make,
      nmake, etc...) from output-MinGW-i386
       
      C:\build\reactos>
      

      Build 0.4.15-dev-2356-g3feb0cf behavior:

      C:\build\reactos>configure.cmd ninja
      Detected RosBE for i386
       
        Warning: Unrecognized switch "ninja"
       
      Creating directories in output-MinGW-i386
      Preparing reactos...
      -- The C compiler identification is GNU 8.4.0
      -- The CXX compiler identification is GNU 8.4.0
      -- Check for working C compiler: C:/RosBE/i386/bin/gcc.exe
      -- Check for working C compiler: C:/RosBE/i386/bin/gcc.exe - works
      -- Detecting C compiler ABI info
      -- Detecting C compiler ABI info - done
      -- Detecting C compile features
      -- Detecting C compile features - done
      -- Check for working CXX compiler: C:/RosBE/i386/bin/g++.exe
      -- Check for working CXX compiler: C:/RosBE/i386/bin/g++.exe - works
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      -- Setting build type to Debug as none was specified.
      -- Found Git: C:/Git/cmd/git.exe (found version "2.40.1.windows.1")
      -- Found BISON: C:/RosBE/bin/bison.exe (found version "3.5.4")
      -- Found FLEX: C:/RosBE/bin/flex.exe (found version "2.6.4")
      -- Build Type: Debug
      CMake Warning at CMakeLists.txt:192 (message):
        -- Disabling precompiled headers on GCC by default CORE-17108.
       
       
      -- The ASM compiler identification is GNU
      -- Found assembler: C:/RosBE/i386/bin/gcc.exe
      -- Selected localization: all
      -- umandlg has no base address
      -- browser has no base address
      -- hotplug has no base address
      -- qcap has no base address
      -- mydocs has no base address
      -- dbgeng has no base address
      -- fusion has no base address
      -- fusion_1_1 has no base address
      -- fusion_2_0 has no base address
      -- profmap has no base address
      -- regapi has no base address
      -- storprop has no base address
      -- ntprint has no base address
      -- Configuring done
      -- Generating done
      -- Build files have been written to: C:/build/reactos/output-MinGW-i386
       
      Configure script complete! Execute appropriate build commands (ex: ninja, make,
      nmake, etc...) from output-MinGW-i386
       
      C:\build\reactos>
      

      Attachments

        Activity

          People

            CleverKing CleverKing
            binarymaster Stas'M
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: