Skip to content

check_mem_leaks: integrate check_mem_leaks into CMake#319

Merged
brarcher merged 1 commit intolibcheck:masterfrom
hvarga:cmake-integrate-check_mem_leaks
Jan 1, 2021
Merged

check_mem_leaks: integrate check_mem_leaks into CMake#319
brarcher merged 1 commit intolibcheck:masterfrom
hvarga:cmake-integrate-check_mem_leaks

Conversation

@hvarga
Copy link
Copy Markdown
Contributor

@hvarga hvarga commented Dec 27, 2020

Commit 8699473 initialy introduced a
new test, check_mem_leaks, that can be used with Valgrind to find memory
errors.

Since then, test check_mem_leaks can be built with GNU Autotools scripts
but lacks integration into CMake scripts. This means that, when CMake is
used to build the project, check_mem_leaks will NOT be built.

This commit resolves this by adding support for building check_mem_leaks
into CMake scripts as well.

Signed-off-by: Hrvoje Varga hrvoje.varga@gmail.com

Commit 8699473 initialy introduced a
new test, check_mem_leaks, that can be used with Valgrind to find memory
errors.

Since then, test check_mem_leaks can be built with GNU Autotools scripts
but lacks integration into CMake scripts. This means that, when CMake is
used to build the project, check_mem_leaks will NOT be built.

This commit resolves this by adding support for building check_mem_leaks
into CMake scripts as well.

Signed-off-by: Hrvoje Varga <hrvoje.varga@gmail.com>
@brarcher brarcher merged commit 60a23ec into libcheck:master Jan 1, 2021
@brarcher
Copy link
Copy Markdown
Contributor

brarcher commented Jan 1, 2021

Thanks for adding the test program to the CMake build!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants