mirror of
https://github.com/thunderbrewhq/binana.git
synced 2026-04-26 10:53:50 +00:00
11 lines
348 B
Bash
Executable file
11 lines
348 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
PROFILE=$1
|
|
cp cmake/CMakeLists.txt profile/$PROFILE/CMakeLists.txt
|
|
cp cmake/entry.c profile/$PROFILE/entry.c
|
|
mkdir -p build/$PROFILE && cd build/$PROFILE
|
|
cmake ../../profile/$PROFILE
|
|
mv compile_commands.json ../../profile/$PROFILE/compile_commands.json
|
|
cd ../..
|
|
# rm profile/$PROFILE/CMakeLists.txt
|
|
rm profile/$PROFILE/entry.c
|