12 lines
376 B
Bash
Executable File
12 lines
376 B
Bash
Executable File
#!/bin/bash
|
|
|
|
|
|
export CMAKE_PREFIX_PATH=/home/andrew/local:/home/andrew/local/lib/cmake
|
|
export CMAKE_MODULE_PATH=/home/andrew/local/lib/cmake
|
|
#export SDL3_DIR=/home/andrew/local
|
|
|
|
rm -fr ~/local/lib/*sdl3game* ~/local/include/sdl3game build
|
|
cmake -S . -B build -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
|
cmake --build build --parallel 4
|
|
cmake --install build --prefix /home/andrew/local
|