CTestConfig.cmake should be a source file in your source tree. Nothing
should be writing it automatically.


On Mon, Jun 21, 2010 at 11:21 AM, Convey, Christian J CIV NUWC NWPT <
christian.con...@navy.mil> wrote:

> I'm having trouble getting my mind around how CTest is intended to be used.
>  Could someone explain this to me?
>
> When you embed ctest-related statements into a CMakeLists.txt file, and
> then run cmake on that file, you produce a "CTestConfig.cmake" file.  This
> file is eventually executed by "ctest".
>
> But ctest also has the ability to run "cmake".  In the worst-case (in my
> mind) scenario, this ultimately leads to "ctest" causing the rewriting of
> the very "CTestConfig.cmake" file that it's presently executing.
>
> Is this intended?  Or does it lie outside of the intended ways of using
> ctest?
>
>
> _______________________________________________
> 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://www.cmake.org/mailman/listinfo/cmake
>
_______________________________________________
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://www.cmake.org/mailman/listinfo/cmake

Reply via email to