On 10/25/2012 04:51 PM, Alan W. Irwin wrote: > bash.exe-3.1$ > /z/home/wine/newstart/bootstrap_cmake/install_4.7.0/bin/cmake.exe -P > info.cmake > -- [INFO:compiler[GNU]] > -- [INFO:compiler_version[00000004.00000005.00000002]] > -- [INFO:platform[MinGW]] > -- [INFO:arch[]] > bash.exe-3.1$ /z/home/wine/newstart/cmake-2.8.9-win32-x86/bin/cmake.exe -P > info.cmake > -- [INFO:compiler[GNU]] > -- [INFO:compiler_version[00000004.00000005.00000002]] > -- [INFO:platform[MinGW]] > -- [INFO:arch[]]
This shows that file(STRINGS) does work *sometimes* with the pre-built binary. You have a few ".exe" files for which it does not work and a ".o" for which it does work. The log indicates it also failed for Fortran's ".o" file so it does not depend just on ".exe" versus ".o". Since this all works on native Windows it is likely a problem with the way Wine is running the MSVC-built binary and not with CMake itself. You have a work-around. -Brad -- 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://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers