Using Valgrind with Ninja -
i have been using simple ninja build file generated hand, add valgrind leak test 1 of build options. have following
build task_test : cpp_linker common.o array_safe.o log.o $tname.o ../../googletest/gmock_main.a build execute: execute task_test build all: phony execute pool = console default i tried replace build execute: line build execute: execute valgrind --leak-check=full task_test gave me error valgrind needed execute, new ninja , little confused executing external command.
Comments
Post a Comment