use ctest
add pedantic, drop gdb by default