So when I make a library that I want to be findable with cmake, I'd like
the cpack system to work such that the module file is installed into the
cmake module search path unless specified otherwise.
I gather I need to create a BlahModule.cmake file that implements the
package finding stuff. I wan
I'm very new to CMake and am trying to get a handle on it. I'm not
entirely sure if what I want to do is built into CMake already or
something I'll need to write some functions/macros for.
I have a Makefile setup where I can run "make check" to run unit tests
and can run "make mem_check" to run t
I've continued working on my original problem and gotten further. It
seems I was missing "include(CTest)" in my CMakeLists.txt
I still have one remaining issue though. I want the memcheck command
to CTest generate XML files for the Jenkins valgrind plugin. The
problem is that I don't see a way
I have set up a cmake structure that runs unit tests under valgrind
and by themselves using ctest and generating xml reports for CI
systems like Jenkins.
One drawback though, the directories to store the resulting reports
must exist before make test or make ExperimentalMemCheck are run.
How would
:
> This should work for you:
>
> file(MAKE_DIRECTORY reports)
>
> http://www.cmake.org/cmake/help/v2.8.9/cmake.html#command:file
>
> Jake Petroules
> Petroules Corporation (www.petroules.com)
> Email: jake.petrou...@petroules.com
> Telephone: +1 (970) 587-3821
>
&g
A couple weeks back I sent in a question about passing the name of a
test to the memory program as an argument to --xml-file. I didn't get
a response so I continued trying to solve the issue myself. I managed
to for the most part except for one problem.
What I did is make a "valgrind.sh" script