MantisBT - CMake |
View Issue Details |
|
ID | Project | Category | View Status | Date Submitted | Last Update |
0013475 | CMake | CMake | public | 2012-08-15 16:19 | 2012-08-15 16:32 |
|
Reporter | Marcin Wojdyr | |
Assigned To | | |
Priority | normal | Severity | feature | Reproducibility | N/A |
Status | closed | Resolution | duplicate | |
Platform | | OS | | OS Version | |
Product Version | CMake 2.8.9 | |
Target Version | | Fixed in Version | | |
|
Summary | 0013475: Support cross-compiling fortran project in the same way as C and C++ |
Description | CMakeDetermineFortranCompiler lacks several lines that in similar modules for C and CXX handle GNU cross-compiler.
As a result changing order of languages in project() causes strange errors, and if Fortran is the first or the only language the instruction at http://www.cmake.org/Wiki/CMake_Cross_Compiling [^] won't work.
|
Steps To Reproduce | |
Additional Information | CMakeDetermine(C|CXX|Fortran)Compiler.cmake files are quite similar. The Fortran one lacks comment about _CMAKE_TOOLCHAIN_PREFIX at the beginning and then block that sets _CMAKE_TOOLCHAIN_PREFIX near the end. I think that's all, but I may have overlooked something. When _CMAKE_TOOLCHAIN_PREFIX if set CMakeFindBinUtils sets the rest of variables. |
Tags | No tags attached. |
Relationships | duplicate of | 0013379 | closed | Alex Neundorf | Toolchain prefix not set correctly for Fortran projects |
|
Attached Files | |
|
Issue History |
Date Modified | Username | Field | Change |
2012-08-15 16:19 | Marcin Wojdyr | New Issue | |
2012-08-15 16:31 | Alex Neundorf | Relationship added | duplicate of 0013379 |
2012-08-15 16:32 | Alex Neundorf | Note Added: 0030678 | |
2012-08-15 16:32 | Alex Neundorf | Status | new => closed |
2012-08-15 16:32 | Alex Neundorf | Resolution | open => duplicate |