You should setup a separate build directory for each platform and run CMake
there with configuration options you want.
Denis
> I would like to build the same source tree for different
> platforms. A
> platform means various embedded OSes, WIN32, etc.
> Compilation for each
> platform may differ by includes and libs used as well as
> some
> toolchain and compile options changes. There are some minor
> platform
> changes in the code handled by conditional compilation.
_______________________________________________
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