MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0013863 | CMake | CMake | public | 2013-01-21 17:18 | 2016-06-10 14:31 |
| Reporter | Jonathan De Wachter | ||||
| Assigned To | Kitware Robot | ||||
| Priority | high | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | CMake 2.8.10.2 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0013863: CMAKE_FORCE_C_COMPILER doesn't work... | ||||
| Description | CMAKE_FORCE_C_COMPILER doesn't work while the traditional version CMAKE_C_COMPILER does. Here is my code: include(CMakeForceCompiler) SET(CMAKE_SYSTEM_NAME Android) set(NDK_PATH "C:/Users/Sonkun/Desktop/my-android-toolchain/arm-linux-androideabi") # I get my compilers found when using the following. The only problem: it doesn't compile, without extra flags, a simple program so I need to force. SET(CMAKE_C_COMPILER gcc) SET(CMAKE_CXX_COMPILER g++) # So I comment the two line above and try the following. It results two errors saying CMake was unable to find the compilers... CMAKE_FORCE_C_COMPILER(gcc GNU) CMAKE_FORCE_CXX_COMPILER(g++ GNU) | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2013-01-21 17:18 | Jonathan De Wachter | New Issue | |||
| 2016-06-10 14:28 | Kitware Robot | Note Added: 0042206 | |||
| 2016-06-10 14:28 | Kitware Robot | Status | new => 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 | |||||
|
|
|||||
|
|
||||