summaryrefslogtreecommitdiff
path: root/bootstrap.sh
blob: a5c11ac9d51c2969c2eef2b17ba9d28efd2bf2d6 (plain)
1
2
3
4
5
6
7
#!/bin/sh
echo "Bootstrapping..."
g++ -std=c++20 -Wall -O3 -Isrc -pthread src/bootstrap.cc ctor.cc test/ctor.cc -o ctor && \
./ctor && \
g++ -std=c++20 -Wall -O3 -Isrc -pthread ctor.cc test/ctor.cc -Lbuild -lctor -o ctor && \
./ctor configure --ctor-includedir=src --ctor-libdir=build && \
echo "Done. Now run ./ctor to (re)build."