blob: 06cd903dbc3f1c44b4ffb65c22efc01961da17d8 (
plain)
1
2
3
4
5
6
7
|
#!/bin/sh
echo "Bootstrapping..."
g++ -std=c++17 -Wall -O3 -Isrc -pthread src/bootstrap.cc ctor.cc test/ctor.cc -o ctor && \
./ctor && \
g++ -std=c++17 -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."
|