- English
- Polish
Supports both metric and imperial (US & UK) unit systems.
- Windows 7 SP1 or newer
- Microsoft Visual C++ Redistributable 2022
Pre-compiled binaries are built with the latest (at the time of the release) stable version of Visual Studio 2022. x64 binaries are compiled with clang-cl, while x86 ones are compiled with cl. Build flags are the same as in CMakeLists.txt
Note: These instructions are for creating builds which replicate the pre-compiled binaries.
- Visual Studio (tested with 2015 and 2022) with "Desktop Development with C++" workload installed
- CMake 3.24+ (included with current versions of VS 2022; earlier versions of CMake may work after change in CMakeLists.txt, but I didn't test)
- Download or clone this repository
- Open Developer PowerShell for VS 2022 (or Developer PowerShell for your version of VS)
- Change directory (cd) to the path containing source tree
- Type:
mkdir build
cd build
cmake -G "Visual Studio 17 2022" .. # Replace "Visual Studio 17 2022" with your VS version if needed
msbuild bmiCalculator2.sln /p:Configuration=Release
- Enjoy! The binary will be located in the "Release" folder
Currently, you need Visual Studio to build the 'master' branch. MinGW is not supported because windres does not support .rc files encoded in UTF16-LE which is required for non-ANSI characters in resources. CMakeLists.txt includes build flags for MinGW for future use. You can use the 'englishonly' branch if you want to build with MinGW.
This program is distributed under the MIT license. Full license text can be found in LICENSE.txt