On 03/16/2014 07:43 AM, Jiri Malak wrote: > I enclosed patch, which enable generation of wmake makefiles on Linux host.
The CMake condition if(WIN32 OR UNIX AND NOT APPLE) and the preprocessor condition #if defined(_WIN32) || defined(__linux__) are not fully equivalent. Instead you could perform the test in the CMake code, perhaps using CMAKE_SYSTEM_NAME, and then tell cmake.cxx about it with set_property(SOURCE cmake.cxx PROPERTY COMPILE_DEFINITIONS USE_WMAKE) 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