mkdir build # create a build directory
    cd build # switch to it
    cmake .. -DCMAKE_BUILD_TYPE=Release -DGALAX_LINK_CUDA=ON# configure project with cmake
    make #make