Here is a patch that only build the tests for Modules specified explicitly when BUILD_DEFAULT_MODULES is OFF.
http://review.source.kitware.com/#/c/14063/ Thanks, Matt On Thu, Jan 16, 2014 at 3:50 PM, Brian Helba <[email protected]> wrote: > For Makefile-based code generation, building with "make <modulename>-all" > should only build the module, tests, and its recursive code dependencies. It > should be possible to call > ctest_build(.. TARGET <modulename>-all ..) in the CTest driver script. > > I'm not sure about this, but I would hope that ctest_build can do the same > thing to directly build MSVC projects, as opposed to the entire solution. > > > On Thu, Jan 16, 2014 at 11:46 AM, Bradley Lowekamp <[email protected]> > wrote: >> >> >> On Jan 16, 2014, at 11:28 AM, Bill Lorensen <[email protected]> >> wrote: >> >> >> It would be great if there were some way to turn off the building of >> the dependent module tests. >> >> >> +1 >> >> >> This should be added to the infrastructure improvement list. >> >> I just tried to build the Core/Common module, and most of the toolkit was >> still turned on and the testing built. >> >> Brad >> >> _______________________________________________ >> Powered by www.kitware.com >> >> Visit other Kitware open-source projects at >> http://www.kitware.com/opensource/opensource.html >> >> Kitware offers ITK Training Courses, for more information visit: >> http://kitware.com/products/protraining.php >> >> Please keep messages on-topic and check the ITK FAQ at: >> http://www.itk.org/Wiki/ITK_FAQ >> >> Follow this link to subscribe/unsubscribe: >> http://www.itk.org/mailman/listinfo/insight-developers >> >> _______________________________________________ >> Community mailing list >> [email protected] >> http://public.kitware.com/cgi-bin/mailman/listinfo/community >> > > > > -- > Brian Helba > Medical Imaging > Kitware, Inc. > > _______________________________________________ > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Kitware offers ITK Training Courses, for more information visit: > http://kitware.com/products/protraining.php > > Please keep messages on-topic and check the ITK FAQ at: > http://www.itk.org/Wiki/ITK_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.itk.org/mailman/listinfo/insight-developers > > _______________________________________________ > Community mailing list > [email protected] > http://public.kitware.com/cgi-bin/mailman/listinfo/community > _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Kitware offers ITK Training Courses, for more information visit: http://kitware.com/products/protraining.php Please keep messages on-topic and check the ITK FAQ at: http://www.itk.org/Wiki/ITK_FAQ Follow this link to subscribe/unsubscribe: http://www.itk.org/mailman/listinfo/insight-developers
