Browse Source

- Updated build information for UWP

- Changed builds to point to MSVC 2022
- Removed unit_tests_coverage.bat - this is now done through Sonar
Jorrit Rouwe 3 years ago
parent
commit
67cf232950
3 changed files with 16 additions and 24 deletions
  1. 15 14
      Build/README.md
  2. 0 9
      Build/unit_tests_coverage.bat
  3. 1 1
      README.md

+ 15 - 14
Build/README.md

@@ -42,21 +42,30 @@ To override the default trace and assert mechanism install your own custom handl
 
 ### Windows 10+ (CL - Default compiler)
 
-- Download Visual Studio 2019+ (Community or other edition)
+- Download Visual Studio 2022 (Community or other edition)
 - Download CMake 3.15+ (https://cmake.org/download/)
-- Run cmake_vs2019_cl.bat
-- Open the resulting project file VS2019_CL\JoltPhysics.sln
+- Run cmake_vs2022_cl.bat
+- Open the resulting project file VS2022_CL\JoltPhysics.sln
 - Compile and run either 'Samples' or 'UnitTests'
 
 ### Windows 10+ (Clang compiler)
 
-- Download Visual Studio 2019+ (Community or other edition)
+- Download Visual Studio 2022 (Community or other edition)
 - Make sure to install "C++ Clang Compiler for Windows 11.0.0+" and "C++ Clang-cl for v142+ build tools (x64/x86)" using the Visual Studio Installer
 - Download CMake 3.15+ (https://cmake.org/download/)
-- Run cmake_vs2019_clang.bat
-- Open the resulting project file VS2019_Clang\JoltPhysics.sln
+- Run cmake_vs2022_clang.bat
+- Open the resulting project file VS2022_Clang\JoltPhysics.sln
 - Compile and run either 'Samples' or 'UnitTests'
 
+### Windows 10+ (Universal Windows Platform)
+
+- Download Visual Studio 2022+ (Community or other edition)
+- Make sure to install "Universal Windows Platform development" using the Visual Studio Installer
+- Download CMake 3.15+ (https://cmake.org/download/)
+- Run cmake_vs2022_uwp.bat
+- Open the resulting project file VS2022_UWP\JoltPhysics.sln
+- Compile and run 'UnitTests'
+
 ### Linux (Debian flavor, x64 or ARM64)
 
 - Install clang (apt-get install clang)
@@ -90,14 +99,6 @@ Note that you can also follow the steps in the 'Linux' section if you wish to bu
 - This will open XCode with a newly generated project
 - Build and run the project (note that this will only work in the simulator as the code signing information is not set up)
 
-## Unit Test Coverage Report on Windows
-
-To test unit test coverage run the following:
-
-- Run: cmake_vs2019_clang.bat
-- Run: unit_tests_coverage.bat
-- This will build and run the unit tests and open a browser with the results
-
 ## Doxygen on Windows
 
 Documentation can be generated through doxygen:

+ 0 - 9
Build/unit_tests_coverage.bat

@@ -1,9 +0,0 @@
-@echo off
-set PATH=%PATH%;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\Llvm\x64\bin\;C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\
-msbuild VS2019_Clang\JoltPhysics.sln /p:Configuration=ReleaseCoverage
-cd VS2019_Clang\ReleaseCoverage
-UnitTests.exe
-llvm-profdata merge -sparse default.profraw -o default.profdata
-cd ..\..
-llvm-cov show -format=html -output-dir=CoverageReport .\VS2019_Clang\ReleaseCoverage\UnitTests.exe -instr-profile=.\VS2019_Clang\ReleaseCoverage\default.profdata
-CoverageReport\index.html

+ 1 - 1
README.md

@@ -75,7 +75,7 @@ For more information see the [Architecture and API documentation](https://jrouwe
 
 ## Supported Platforms
 
-* Windows (VS2019, VS2022) x64
+* Windows (VS2019, VS2022) x64 (Desktop/UWP)
 * Linux (tested on Ubuntu 20.04) x64/ARM64
 * Android (tested on Android 10) x64/ARM64
 * Platform Blue (a popular game console) x64