Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
7c94f0882This file is pinned to the selected release. Download the original to open it in your design tool.
#!/bin/bash
#CPP_FILES="gbl2ngc.cpp gbl2ngc_debug.cpp gbl2ngc_export.cpp gbl2ngc_construct.cpp gbl2ngc_offset.cpp gbl2ngc_aperture.cpp gbl2ngc_globals.cpp"
CPP_FILES="gbl2ngc.cpp gbl2ngc_aperture.cpp gbl2ngc_globals.cpp gbl2ngc_construct.cpp gbl2ngc_export.cpp "
#gcc -g gerber_interpreter.c -c
#gcc -g test_gerber_interpreter.c gerber_interpreter.o -o test_gerber_interpreter
gcc -O3 gerber_interpreter.c -c
gcc -O3 test_gerber_interpreter.c gerber_interpreter.o -o test_gerber_interpreter
#g++ -O2 -o gbl2ngc $CPP_FILES gerber_interpreter.o -I./cpp -L. -L./cpp -lpolyclipping -lstdc++ -lboost_thread
g++ -Wall -O2 -o gbl2ngc $CPP_FILES gerber_interpreter.o clipper.cpp -lstdc++ -lboost_thread
#g++ -g -o gbl2ngc_debug $CPP_FILES gerber_interpreter.o clipper.cpp -lstdc++ -lboost_thread