Skip to content

Latest commit

 

History

History
51 lines (41 loc) · 1.26 KB

BUILD.md

File metadata and controls

51 lines (41 loc) · 1.26 KB

Build (developer)

This uses vcpkg to install the dependencies needed to build as developer:

Linux, MacOS

git clone git@github.com:rscherrer/speciome.git
cd speciome
cp CMakeLists_devel.txt CMakeLists.txt # developer configuration
git submodule add https://github.com/microsoft/vcpkg
git submodule update --init --remote
mkdir build && cd build
cmake ..
cmake --build .

Executables for tests are built in bin/tests/.

Windows

git clone git@github.com:rscherrer/speciome.git
cd speciome
copy CMakeLists_devel.txt CMakeLists.txt :: developer configuration
git submodule add https://github.com/microsoft/vcpkg
git submodule update --init --remote
mkdir build
cd build
cmake ..
cmake --build . --config Release

Executables for tests are built in bin/tests/.

IDEs

git clone git@github.com:rscherrer/speciome.git
cd speciome
cp CMakeLists_devel.txt CMakeLists.txt # developer configuration
git submodule update --init --recursive
mkdir build
cd build
# Generate VisualStudio project files
cmake -G "Visual Studio 17 2022" -A x64 ..
# Generate Xcode project files (Xcode must be installed)
cmake -G Xcode