1
0
mirror of git://projects.qi-hardware.com/cae-tools.git synced 2025-04-21 12:27:27 +03:00

poly2d/: add foreach_v2d* and foreach_edges looping constructs

This commit is contained in:
Werner Almesberger
2012-05-08 13:14:00 -03:00
parent 1c11f4d201
commit 3ee5b1aa31
4 changed files with 152 additions and 2 deletions

View File

@@ -14,6 +14,7 @@
compile_and_run()
{
CFLAGS="-Wall -Werror -g -std=gnu99 -I.."
LIBS="-lpoly2d -lCGAL -lCGAL_Core -lboost_thread"
LIBS="$LIBS -lstdc++ -lmpfr -lgmp -lm"
@@ -54,7 +55,7 @@ int main(void)
return 0;
}
EOF
gcc -Wall -Werror -g -I.. _.c -L.. $LIBS || return
gcc $CFLAGS _.c -L.. $LIBS || return
$VALGRIND ./a.out
}