On Feb 6, 2014, at 10:12 PM, Ben Boeckel <[email protected]> wrote:
> On Thu, Feb 06, 2014 at 17:30:11 -0700, Steve Wilson wrote: >> I have my topic branch with the add_custom_command changes to include >> the CONFIG keyword working. The CMake binary produced from the >> build will correctly generated build systems that have custom commands >> with the CONFIG keyword. I’m having trouble writing tests for the >> changes though. When I run add_custom_command with the CONFIG >> keyword in the test suite the CONFIG keyword does not work. >> >> I need a little guidance with the test suite. I’m not super familiar >> with CTest so I’m not sure where to look next to find the problem. >> So my question: Why would add_custom_command behave differently in >> the tests than in regular build system generation? > > Hmm. Are you using your installed ctest or the build tree's ctest? If > the former, it may be using your installed cmake. I thought of that also, but my installed ctest/cmake has support for the CONFIG keyword (it’s a build from my private fork of the project, of which I’m trying to merge interesting changes back to the main project).
signature.asc
Description: Message signed with OpenPGP using GPGMail
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
