The following issue has been SUBMITTED. ====================================================================== http://public.kitware.com/Bug/view.php?id=11351 ====================================================================== Reported By: Andreas Roth Assigned To: ====================================================================== Project: CMake Issue ID: 11351 Category: CMake Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 2010-10-22 01:58 EDT Last Modified: 2010-10-22 01:58 EDT ====================================================================== Summary: trycompile does not work on MSVC_IDE with --debug-trycompile Description: I've written a small CMakeLists.txt (attached), which demonstrates the problem that the result of the second try_compile attempt (e.g. by CHECK_FUNCTION_EXISTS) has the same result as before and this causes try_compile to produce wrong results. Since the CMake temporary project files are not deleted before the next try_compile command, the MSVC assume that the output file is still up-to-date. This could be workarounded if a additional dependency for the output file to the generated project file is introduced (don't know if this is possible. ======================================================================
Issue History Date Modified Username Field Change ====================================================================== 2010-10-22 01:58 Andreas Roth New Issue 2010-10-22 01:58 Andreas Roth File Added: CMakeLists.txt ====================================================================== _______________________________________________ cmake-developers mailing list cmake-developers@cmake.org http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers