opengl_example/compile.sh

9 lines
123 B
Bash

#!/bin/bash
#gcc -o opengl_example main.cpp -lGL -lGLU -lglut -lm
rm -rf build
mkdir -p build
cd build
cmake ..
make -j4