Skip to content

Latest commit

 

History

History
45 lines (42 loc) · 1.49 KB

README.md

File metadata and controls

45 lines (42 loc) · 1.49 KB

FAST Example Application

This repository is an example and a template of how to create a new stand-alone C++ application using FAST. You need git, cmake and a C++ compiler (e.g. gcc on Linux, visual studio on Windows) to compile this example.

Setup

  1. Either
  2. Clone this repository
    git clone https://github.com/smistad/FAST-example-project.git
  3. Setup build environment using CMake
    Linux (Ubuntu)
    mkdir build
    cd build
    cmake .. -DFAST_DIR=/path/to/FAST/cmake/
    Windows (Visual Studio) Modify generator -G string to match your Visual studio version. This command will create a visual studio solution in your build folder.
    mkdir build
    cd build
    cmake .. -DFAST_DIR=C:\path\to\FAST\cmake\ -G "Visual Studio 16 2019" -A x64
  4. Build
    cmake --build . --config Release --target fastExample
  5. Run Linux (Ubuntu)
    ./fastExample
    Windows
    cd Release
    fastExample.exe

Screenshot of example