2024-05-13 16:38:43 +00:00
|
|
|
#!/usr/bin/env sh
|
|
|
|
|
|
|
|
if ! which g++ > /dev/null; then
|
|
|
|
echo "g++ not found, skipping compilation"
|
|
|
|
exit 0
|
|
|
|
fi
|
|
|
|
|
2024-05-14 15:43:05 +00:00
|
|
|
c++ -c -O3 -march=native -shared -fPIC -Isrc/main/public src/main/cpp/*.cpp -o resources/libcpp.so
|