[CMake] Valgrind arguments
Andreas Schneider
mail at cynapses.org
Thu Jul 10 08:50:43 EDT 2008
Andreas Schneider wrote:
> Milan Dorak wrote:
>> Hey guys,
>
> Hi,
>
>>
>> how can i pass valgrind during the MEMCHECK argument ? I need to run
>> valgrind with --trace-children=yes and I can't figure out how to do it.
>
> according to the source code there are 3 variables
>
> CTEST_MEMORYCHECK_COMMAND
> CTEST_MEMORYCHECK_SUPPRESSIONS_FILE
> CTEST_MEMORYCHECK_COMMAND_OPTIONS
>
> set(CTEST_MEMORYCHECK_COMMAND_OPTIONS "${
> CTEST_MEMORYCHECK_COMMAND_OPTIONS} --trace-children=yes")
CORRECTION
It is
MEMORYCHECK_COMMAND
MEMORYCHECK_SUPPRESSIONS_FILE
MEMORYCHECK_COMMAND_OPTIONS
set(MEMORYCHECK_COMMAND_OPTIONS "--trace-children=yes")
which is not very consistent to the other options. I think it should be
CTEST_MEMCHECK_COMMAND
...
-- andreas
--
http://www.cynapses.org/ - cybernetic synapses
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
URL: <http://www.cmake.org/pipermail/cmake/attachments/20080710/251a67c1/attachment.pgp>
More information about the CMake
mailing list