mirror of https://github.com/axmolengine/axmol.git
Update README.md
This commit is contained in:
parent
1af0d74430
commit
97fc3b7bcf
|
@ -90,7 +90,7 @@ Open [APPENDIX.md](APPENDIX.md) for additional information and see [Milestones](
|
||||||
|
|
||||||
```cd axmol ```
|
```cd axmol ```
|
||||||
|
|
||||||
a) C++ 17:
|
a) C++ 20:
|
||||||
- for 32 bit Visual Studio 2019:
|
- for 32 bit Visual Studio 2019:
|
||||||
```cmake -S . -B build -G "Visual Studio 16 2019" -A Win32```
|
```cmake -S . -B build -G "Visual Studio 16 2019" -A Win32```
|
||||||
- for 64 bit Visual Studio 2019:
|
- for 64 bit Visual Studio 2019:
|
||||||
|
@ -100,9 +100,9 @@ Open [APPENDIX.md](APPENDIX.md) for additional information and see [Milestones](
|
||||||
- for 64 bit Visual Studio 2022:
|
- for 64 bit Visual Studio 2022:
|
||||||
```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++17
|
||||||
- add ```-DCXX_STD=20``` for C++20 on your command line like:
|
- add ```-DCXX_STD=17``` for C++17 on your command line like:
|
||||||
cmake -S . -B build ```-DCXX_STD=20``` -G "Visual Studio 17 2022" -A x64
|
cmake -S . -B build ```-DCXX_STD=17``` -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```
|
||||||
|
|
Loading…
Reference in New Issue