View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0013863CMakeCMakepublic2013-01-21 17:182016-06-10 14:31
ReporterJonathan De Wachter 
Assigned ToKitware Robot 
PriorityhighSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake 2.8.10.2 
Target VersionFixed in Version 
Summary0013863: CMAKE_FORCE_C_COMPILER doesn't work...
DescriptionCMAKE_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)
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0042206)
Kitware Robot (administrator)
2016-06-10 14:28

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 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


Copyright © 2000 - 2018 MantisBT Team