Merge pull request #894 from aismann/patch-2

Update README.md
This commit is contained in:
一线灵|Deal 2022-10-05 16:49:49 +08:00 committed by GitHub
commit 6220071b3b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -101,10 +101,10 @@ Open [APPENDIX.md](APPENDIX.md) for additional information and see [Milestones](
```cmake -S . -B build -G "Visual Studio 17 2022" -A x64``` ```cmake -S . -B build -G "Visual Studio 17 2022" -A x64```
b) C++20 b) C++20
- add ```-DCXX_STD=20``` for C++20 on a line above like: - add ```-DCXX_STD=20``` for C++20 on your command line like:
cmake -B build ```-DCXX_STD=20``` -G "Visual Studio 17 2022" -A x64 cmake -S . -B build ```-DCXX_STD=20``` -G "Visual Studio 17 2022" -A x64
4. Build excecutable in a command line (e.g. cpp-tests): 4. Build excecutable in a command line (e.g. cpp-tests):
```msbuild .\build\axmol.sln -target:cpp_tests -maxCpuCount``` ```msbuild .\build\axmol.sln -target:cpp_tests -maxCpuCount```
#### Improve 'Visual Studio' workflow, support linking with engine prebuilt libs #### Improve 'Visual Studio' workflow, support linking with engine prebuilt libs