MantisBT - CMake | |||||||||||||||
View Issue Details | |||||||||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||||||||
0011724 | CMake | CMake | public | 2011-01-19 16:38 | 2011-01-31 16:10 | ||||||||||
Reporter | Daniel Richard G. | ||||||||||||||
Assigned To | Brad King | ||||||||||||||
Priority | normal | Severity | major | Reproducibility | always | ||||||||||
Status | closed | Resolution | fixed | ||||||||||||
Platform | OS | OS Version | |||||||||||||
Product Version | CMake 2.8.3 | ||||||||||||||
Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | ||||||||||||
Summary | 0011724: CMAKE_RUNTIME_OUTPUT_DIRECTORY breaks try_compile()'s COPY_FILE directive in 2.8.3 | ||||||||||||||
Description | I have a CMake project that was working fine with 2.8.1. When I upgraded CMake to 2.8.3, I began to see this error at configuration time: ********(cut here)******** -- Building for: NMake Makefiles -- The C compiler identification is Intel -- Using predefined Intel compiler flags -- Check for working C compiler: C:/Program Files (x86)/Intel/Compiler/C++/9.1/EM64T/Bin/icl.exe -- Check for working C compiler: C:/Program Files (x86)/Intel/Compiler/C++/9.1/EM64T/Bin/icl.exe -- works -- Detecting C compiler ABI info CMake Error: Could not COPY_FILE. OutputFile: '' copyFile: 'E:/build/test-283/CMakeFiles/CMakeDetermineCompilerABI_C.bin' Unable to find executable for try_compile: tried "E:/build/test-283/CMakeFiles/CMakeTmp/cmTryCompileExec.exe" and "E:/build/test-283/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.exe" and "E:/build/test-283/CMakeFiles/CMakeTmp/Development/cmTryCompileExec.exe". -- Detecting C compiler ABI info - done CMake Error at X:/freeport/arch/win64_icl_mt/share/cmake-2.8/Modules/CMakeDetermineCompilerABI.cmake:40 (FILE): file STRINGS file "E:/build/test-283/CMakeFiles/CMakeDetermineCompilerABI_C.bin" cannot be read. Call Stack (most recent call first): X:/freeport/arch/win64_icl_mt/share/cmake-2.8/Modules/CMakeTestCCompiler.cmake:71 (CMAKE_DETERMINE_COMPILER_ABI) CMakeLists.txt:16 (PROJECT) -- Found Perl: C:/cygwin/bin/perl.exe -- Configuring incomplete, errors occurred! ********(cut here)******** I am making use of CMAKE_RUNTIME_OUTPUT_DIRECTORY. If I comment out the directive that assigns to it, everything works peachy: ********(cut here)******** -- Building for: NMake Makefiles -- The C compiler identification is Intel -- Using predefined Intel compiler flags -- Check for working C compiler: C:/Program Files (x86)/Intel/Compiler/C++/9.1/EM64T/Bin/icl.exe -- Check for working C compiler: C:/Program Files (x86)/Intel/Compiler/C++/9.1/EM64T/Bin/icl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Found Perl: C:/cygwin/bin/perl.exe -- Configuring done -- Generating done -- Build files have been written to: E:/build/test-283 ********(cut here)******** | ||||||||||||||
Steps To Reproduce | |||||||||||||||
Additional Information | |||||||||||||||
Tags | No tags attached. | ||||||||||||||
Relationships |
| ||||||||||||||
Attached Files | |||||||||||||||
Issue History | |||||||||||||||
Date Modified | Username | Field | Change | ||||||||||||
2011-01-19 16:38 | Daniel Richard G. | New Issue | |||||||||||||
2011-01-19 17:34 | Brad King | Assigned To | => Brad King | ||||||||||||
2011-01-19 17:34 | Brad King | Status | new => assigned | ||||||||||||
2011-01-19 17:38 | Brad King | Note Added: 0024938 | |||||||||||||
2011-01-19 17:48 | Brad King | Relationship added | related to 0011725 | ||||||||||||
2011-01-19 17:48 | Brad King | Relationship added | related to 0010902 | ||||||||||||
2011-01-19 17:50 | Brad King | Note Added: 0024941 | |||||||||||||
2011-01-19 17:50 | Brad King | Status | assigned => closed | ||||||||||||
2011-01-19 17:50 | Brad King | Resolution | open => duplicate | ||||||||||||
2011-01-20 07:38 | Brad King | Note Added: 0024949 | |||||||||||||
2011-01-20 07:38 | Brad King | Status | closed => feedback | ||||||||||||
2011-01-20 07:38 | Brad King | Resolution | duplicate => reopened | ||||||||||||
2011-01-20 07:39 | Brad King | Status | feedback => assigned | ||||||||||||
2011-01-20 08:20 | Brad King | Note Added: 0024951 | |||||||||||||
2011-01-20 08:20 | Brad King | Status | assigned => closed | ||||||||||||
2011-01-20 08:20 | Brad King | Resolution | reopened => fixed | ||||||||||||
2011-01-20 08:20 | Brad King | Target Version | => CMake 2.8.4 | ||||||||||||
2011-01-31 16:10 | David Cole | Fixed in Version | => CMake 2.8.4 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|