Hi Brad,

Thanks for the quick response!

So let me see if I have this right....
I have the following development environment:
/dev/CMake -- checkout of CMake repo
/dev/build -- visual studio cmake projects
/dev/build-fastbuild -- the directory where I am generating fastbuild
projects into.

So, your instuctions are...
When generating the build directory, I should use:
/dev/build> cmake.exe ..\CMake -DBUILD_TESTING=ON

then I should build CMake using visual studio.
Once that is done, I should do the following:
/dev/build-fastbuild> ..\build\bin\debug\Cmake.exe -G Fastbuild ..\CMake
 -DCMake_TEST_EXTERNAL_CMAKE=/dev/build/bin/debug/Cmake.exe

then I should do the following:
/dev/build-fastbuild> ctest

is that right?
So what kind of tests will this run?
Is this documented anywhere?

Thanks

Josh



On Fri, May 1, 2015 at 10:52 PM, Brad King <[email protected]> wrote:

> On 05/01/2015 08:49 AM, Josh Green wrote:
> > attempting to get a FASTBuild generator working for CMake.
> > I've successfully managed to get the CMake project itself
>
> Great!
>
> > I'm now looking for some standard unit tests to run against
> > the generator
>
> You should be able to run the CMake test suite.  If you have
> CMake itself building then just configure with BUILD_TESTING
> set to ON and then run "ctest" in the build tree.  Otherwise
> you can build CMake with another compiler and then configure
> a CMake build tree with your new generator and add
>
>  -DCMake_TEST_EXTERNAL_CMAKE=/path/to/other/bin
>
> This will configure it to run the test suite against that binary
> but with your new generator.
>
> -Brad
>
>
-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to