--On Tuesday, December 29, 2009 5:55 PM +0100 Michael Wild
<them...@gmail.com> wrote:
Have a look at the -C option which allows you to set cache variables
before anything else runs. You can use that in a batch script to set up
things automatically.
My initial attempt at that used John's example of if(MSVC) but I'm guessing
that file can't use anything but simple variable assignments.
And it's not CMAKE_<target>_PREFIX you want (no such variable, except
CMAKE_INSTALL_PREFIX, which is probably not what you meant), but
CMAKE_<CONFIG>_POSTFIX, where <CONFIG> is Debug, Release, RelWithDebInfo,
MinSizeRel and any other configuration the project lists in
CMAKE_CONFIGURATION_TYPES.
Doh, you're right. Typo while transcribing.
_______________________________________________
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