On Sun, May 4, 2008 at 6:32 PM, Bill Hoffman <[EMAIL PROTECTED]> wrote: > Mathieu Malaterre wrote: > > > Hi, > > > > > > Anyone sees my mistake ? > > > > Thanks, > > > Try --debug-trycompile and look at the makefile generated. > > -Bill > >
This thing ? cat CMakeFiles/CMakeTmp/CMakeFiles/cmTryCompileExec.dir/build.make ... cmTryCompileExec.exe: CMakeFiles\cmTryCompileExec.dir\CheckFunctionExists.obj cmTryCompileExec.exe: CMakeFiles\cmTryCompileExec.dir\build.make @$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --red --bold "Linking C executable cmTryCompileExec.exe" $(CMAKE_COMMAND) -P CMakeFiles\cmTryCompileExec.dir\cmake_clean_target.cmake C:\PROGRA~1\MIA4C6~1\bin\cl.exe /nologo @<< /DWIN32 /D_WINDOWS /W3 /Zm1000 -DCHECK_FUNCTION_EXISTS=UuidCreate /MT /O2 /Ob2 /D NDEBUG $(cmTryCompileExec_OBJECTS) $(cmTryCompileExec_EXTERNAL_OBJECTS) /FecmTryCompileExec.exe /FdC:\cygwin\home\mmalaterre\Projects\gdcm\release-cl2\CMakeFiles\CMakeTmp\cmTryCompileExec.pdb -link /version:0.0 /STACK:10000000 /machine:I386 /INCREMENTAL:NO /subsystem:console rpcrt4.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib << .. I do not see anything wrong ... -- Mathieu _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake