MantisBT - CMake | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0012530 | CMake | CCMake | public | 2011-10-21 07:40 | 2011-11-01 06:10 |
| Reporter | tasptz | ||||
| Assigned To | Alex Neundorf | ||||
| Priority | low | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| Platform | x86_64 GNU/Linux | OS | Ubuntu | OS Version | 10.04 |
| Product Version | CMake 2.8.6 | ||||
| Target Version | Fixed in Version | ||||
| Summary | 0012530: Problem with ccmake and Toolchain file | ||||
| Description | Hello, I want to use a self compiled gcc 4.6 instead of the system's gcc 4.5. Therefore I wrote a simple toolchain file: set(CMAKE_SYSTEM_NAME Linux) set(CMAKE_C_COMPILER "/opt/gcc-4.6.0/bin/gcc-4.6") set(CMAKE_CXX_COMPILER "/opt/gcc-4.6.0/bin/g++-4.6") include_directories(BEFORE SYSTEM "/opt/gcc-4.6.0/include") If I use this with ccmake (empty build directory): ccmake -DCMAKE_TOOLCHAIN_FILE=../Toolchain-gcc46.cmake ../src/ I get: You have changed variables that require your cache to be deleted. Configure will be re-run and you may have to reset some variables. The following variables have changed: CMAKE_C_COMPILER= /usr/bin/gcc-4.5 CMAKE_CXX_COMPILER= /usr/bin/g++-4.5 If I use cmake-gui and specify the toolchain file everything is fine. | ||||
| Steps To Reproduce | |||||
| Additional Information | |||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | |||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-10-21 07:40 | tasptz | New Issue | |||
| 2011-11-01 06:09 | Alex Neundorf | Note Added: 0027691 | |||
| 2011-11-01 06:09 | Alex Neundorf | Status | new => closed | ||
| 2011-11-01 06:09 | Alex Neundorf | Resolution | open => no change required | ||
| 2011-11-01 06:09 | Alex Neundorf | Assigned To | => Alex Neundorf | ||
| 2011-11-01 06:09 | Alex Neundorf | Note Added: 0027692 | |||
| 2011-11-01 06:09 | Alex Neundorf | Status | closed => feedback | ||
| 2011-11-01 06:09 | Alex Neundorf | Resolution | no change required => reopened | ||
| 2011-11-01 06:10 | Alex Neundorf | Note Added: 0027693 | |||
| 2011-11-01 06:10 | Alex Neundorf | Status | feedback => closed | ||
| 2011-11-01 06:10 | Alex Neundorf | Resolution | reopened => no change required | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||