Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Remove suggestions to use MSVC 2019
  • Loading branch information
geoffthemedio authored Dec 27, 2024
1 parent 7293ba9 commit e2d9d5d
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,21 +58,23 @@ properly set up:
This command creates a native build system for the SDK.

To select a specific IDE version for the generated project files, use the `-G` (generator) parameter.
Valid values for this parameter are `-G "Visual Studio 16 2019"`, `-G "Visual Studio 17 2022"`, `-G "Xcode"` or similar.
Note: Building FreeOrion on Windows requires Visual Studio 2019 or 2022.
Valid values for this parameter are `-G "Visual Studio 17 2022"`, `-G "Xcode"` or similar.
Note: Building FreeOrion on Windows requires 2022.

To select a specific MSVC archticture, use the `-A` (architecture) parameter.
Valid values for this parameter are `-A Win32` or `-A x64`.

To select a specific MSVC toolset version, use the `-T` (toolset) parameter.
Valid values for this parameter are `-T v142` or `-T v143`.
Note: `-T v142` requires Visual Studio 2019 and `-T v143` requires Visual Studio 2022. An SDK built with `-T v142` should be compatible for building FreeOrion with later toolsets, and FreeOrion itself requires the v142 or later toolset to build.
Valid values for this parameter are `-T v143`.
Note: `-T v143` requires Visual Studio 2022. SDKs are generally compatible for building FreeOrion with later toolsets.

eg. together: `cmake .. -G "Visual Studio 17 2022" -A x64 -T v143`

After that, the SDK can be build with:

`cmake --build . --config RelWithDebInfo`

The `--config RelWithDebInfo` parameter is required.
Note: The `--config RelWithDebInfo` parameter is required.

The build takes about 20 to 40 minutes and the results are stored inside the `build/INSTALL` directory.

Expand Down

0 comments on commit e2d9d5d

Please sign in to comment.