14 lines
279 B
Bash
Executable file
14 lines
279 B
Bash
Executable file
#!/bin/sh
|
|
if [ -z "$CXX" ]; then
|
|
export CXX=g++
|
|
fi
|
|
add_image() {
|
|
./btcc -nocompress $1 $2 > $2.h
|
|
}
|
|
add_font() {
|
|
./btcc -base85 $1 $2 > $2.h
|
|
}
|
|
$CXX imgui/misc/fonts/binary_to_compressed_c.cpp -o btcc
|
|
add_font forkawesome-webfont.ttf forkawesome
|
|
add_image icon.png icon
|
|
rm btcc
|