Assuming you mean GTEST rather than CTEST (you seem to use them
interchangeably) I think something like this in your CMakeLists.txt
should make the option show up in cmake-gui/ccmake:
set(GTEST_ROOT "" CACHE PATH "Google Test root directory")
Nils
On 05/08/2013 01:21 PM, Witold Eryk Wolski wrote:
Hi,
would like to start using gtest with a project. I use cmake to
configure the project.
So I was pleased to see that :
cmake 2.8 ships with an FindCTest.cmake file.
However FindCTest.cmake expects me either to set en env variable
CTEST_ROOT or pass it as an cmake ariable (I guess with -DCTEST_ROOT ?)
However, the convention I have so far is that all dependencies can be
configured using ccmake or cmake-gui.
Therefore, I would like to do the same with gtest. However, can't find
a way to set GTEST_ROOT with ccmake or cmake-gui.
Can I add anything, and exactly what, to my CMakeLists.txt file so
that CTEST_ROOT will show up in ccmake in order to be set properly?
regards
Witold
--
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