On Tuesday 23 November 2010, [email protected] wrote:
> Dear Cmake users,
>
> 1) I am trying to set CMAKE_INSTALL_PREFIX in the CMakeLists file with
> SET(CMAKE_INSTALL_PREFIX, "my/path")
> but the variable remain unset; everything works fine if the variable is
> set on the command line when invoking cmake
> (-DCMAKE_INSTALL_PREFIX=my/path).
>
> 2) I am also looking for a way to avoid having to invoke cmake -G"Eclipse
> CDT4 - Unix Makefiles" option. Can I set it in the CMakeLists?

If you use cmake-gui (instead of cmake, which may be a good idea if the users 
don't like typing that much), they are asked to select this from a combobox, 
and on later runs their previous choice is the default selection there.

Alex
_______________________________________________
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