Brad King wrote: > On 11/01/2012 11:45 AM, Stephen Kelly wrote: >> Ok, I've added a test for that, but as that test uses CMAKE_COMMAND too, >> with makefile generators, the result will be 0000 each time. > > Okay, now I see what you meant before. Sorry. > > I think just this will be sufficient (untested): >
I wasn't able to make that work. Also any solution based on using script mode didn't work because I can't use add_custom_command there. I've added a solution based on creating top-level tests. Please let me know if I should merge that to next. Thanks, Steve. -- 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
