Uploaded image for project: 'ReactOS Build Environment'
  1. ReactOS Build Environment
  2. ROSBE-183

Update cmake to support visual studio 2022

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • None

    Description

      Current cmake doesn't support vs2022 so it must be updated, however, the arguments format seems to be changed, as I failed to run "configure.cmd VSSolution" after manually updating it.

      The original command in configure.cmd was like this:

      cmake -G %CMAKE_GENERATOR% %CMAKE_ARCH% -DCMAKE_TOOLCHAIN_FILE:FILEPATH=toolchain-msvc.cmake -DARCH:STRING=%ARCH% %BUILD_TOOLS_FLAG% %* "%REACTOS_SOURCE_DIR%"
      

      However, after updating cmake it says:

      CMake Warning: Ignoring extra path from command line: "C:\Users\Vicky\Desktop\github\reactos"" CMake Error: The source directory "C:/Users/Vicky/Desktop/github/reactos/output-VS-amd64-sln/VSSolution" does not exist. Specify --help for usage, or press the help button on the CMake GUI.
      

      The first argument, "VSSolution", must be removed before arguments are passed to cmake.

      Please change the configure.cmd accordingly.

      Attachments

        Activity

          People

            bug zilla Bug Zilla
            silvicky silvicky
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: