MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0012540 | CMake | CMake | public | 2011-10-26 04:47 | 2016-06-10 14:31 |
| Reporter | Martin Apel | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | Intel | OS | Windows | OS Version | Windows 7 |
| Product Version | CMake 2.8.6 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0012540: Error configuring project using Intel Fortran with Visual Studio generator | ||||
| Description | We have a project setup, which uses C, C++ and Fortran. Additionally we have defined custom build types with compile flags for these build types. Up to 2.8.6-rc2 this project could be configured using the Visual Studio 9 2008 generator without problems. Since 2.8.6-rc3 (and also the final 2.8.6 release) the configuration step generates errors related to our custom build types: -- Check for working Fortran compiler using: Visual Studio 9 2008 CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_Fortran_FLAGS_NOOPT CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_EXE_LINKER_FLAGS_NOOPT CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_Fortran_FLAGS_DEBUGWARN CMake Error: Error required internal CMake variable not set, cmake may be not be built correctly. Missing variable is: CMAKE_EXE_LINKER_FLAGS_DEBUGWARN The suffixes DEBUGWARN and NOOPT stem from our custom build types. Unfortunately I have not succeeded in creating a small sample project, which reproduces the problem. Performing the same configuration with other generators such as NMake on Windows or Make on Linux succeeds without problems. | ||||
| Steps To Reproduce | |||||
| Additional Information | I have attached to trace files generated by cmake-2.8.6-rc2 and cmake-2.8.6-rc3 when calling cmake -G "Visual Studio 9 2008" --trace <source dir> | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://public.kitware.com/Bug/file/4098/traces.tar.gz | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-10-26 04:47 | Martin Apel | New Issue | |||
| 2011-10-26 04:47 | Martin Apel | File Added: traces.tar.gz | |||
| 2012-08-11 11:38 | David Cole | Status | new => backlog | ||
| 2012-08-11 11:38 | David Cole | Note Added: 0030318 | |||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0041923 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | backlog => resolved | ||
| 2016-06-10 14:28 | Kitware Robot | Resolution | open => moved | ||
| 2016-06-10 14:28 | Kitware Robot | Assigned To | => Kitware Robot | ||
| 2016-06-10 14:31 | Kitware Robot | Status | resolved => closed | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||