On 03/19/2014 09:13 AM, Jiri Malak wrote:
> New corrected version of patches.
Thanks for working on this.
Tests like
+elseif("${CMAKE_GENERATOR}" MATCHES "Watcom WMake")
do not belong in the generic platform detection files.
One should be able to use the Watcom compilers with any
of the generators. Also one should be able to use the
WMake generator with a non-Watcom compiler if desired.
One should set the CC and CXX environment variables to
point at the Watcom compiler if that is the compiler to
be used. The CMAKE_GENERATOR_CC preference can be
generalized to a ;-list of names if needed to choose the
Watcom compiler by default with the WMake generator.
Thanks,
-Brad
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers