Skip to content

Latest commit

 

History

History
25 lines (21 loc) · 641 Bytes

README.md

File metadata and controls

25 lines (21 loc) · 641 Bytes

libultraship

Building on Linux/Mac

cmake -H. -Bbuild
cmake --build build

Generating a Visual Studio .sln on Windows

# Visual Studio 2022
& 'C:\Program Files\CMake\bin\cmake' -DUSE_AUTO_VCPKG=true -S . -B "build/x64" -G "Visual Studio 17 2022" -T v142 -A x64
# Visual Studio 2019
& 'C:\Program Files\CMake\bin\cmake' -DUSE_AUTO_VCPKG=true -S . -B "build/x64" -G "Visual Studio 16 2019" -T v142 -A x64

To build on Windows

& 'C:\Program Files\CMake\bin\cmake' --build .\build\x64

Running clang-format

find src include -name "*.cpp" -o -name "*.h" | sed 's| |\\ |g' | xargs clang-format-12 -i