Skip to content
Snippets Groups Projects
Select Git revision
  • deef354cbb9fa930489754d80eb496e3cc809143
  • master default
  • main protected
3 results

main.cpp

Blame
  • bootstrap.sh 479 B
    #!/bin/bash
    
    if [ ! -d "build" ]; then mkdir build fi
    cd build
    if [ ! -d "vcpkg" ]; then git clone https://github.com/Microsoft/vcpkg.git fi
    cd vcpkg
    if [ ! -f "vcpkg" ]; then ./bootstrap-vcpkg.sh fi
    
    VCPKG_COMMAND=vcpkg install --recurse
    VCPKG_DEFAULT_TRIPLET=x64-linux
    # Add your library ports here. 
    $VCPKG_COMMAND boost[mpi] catch2
    cd ..
    
    cmake -Ax64 -DCMAKE_TOOLCHAIN_FILE=./vcpkg/scripts/buildsystems/vcpkg.cmake ..
    cmake --build . --target ALL_BUILD --config Release
    cd ..