MantisBT - CMake
View Issue Details
0010022CMakeModulespublic2009-12-10 09:542016-06-10 14:31
mumg 
Bill Hoffman 
normalminoralways
closedmoved 
CMake-2-8 
 
0010022: cpp32, implib, tlib tools are executing by PATH env variable and can't be overloaded by CMAKE_C_COMPILER and CMAKE_CXX_COMPILER
I have found that if I have few versions of BCB installed then I unable to select environment which I want to use. I tried to override C/CXX compiler by appropriate CMAKE variables but without success.

I've created patch to fix this problem. Please review it and if you think this is ok then please include this code to next release or please propose solution how this problem can be fixed.

Example:
-D CMAKE_C_COMPILER="C:\Program Files\Borland\C++ Builder\Bin\bcc32.exe"
-D CMAKE_CXX_COMPILER="C:\Program Files\Borland\C++ Builder\Bin\bcc32.exe"

No tags attached.
patch Windows-Borland.cmake.patch (768) 2009-12-10 09:54
https://public.kitware.com/Bug/file/2711/Windows-Borland.cmake.patch
Issue History
2009-12-10 09:54mumgNew Issue
2009-12-10 09:54mumgFile Added: Windows-Borland.cmake.patch
2009-12-10 11:07mumgNote Added: 0018794
2010-08-11 03:11Kovarththanan RajaratnamCategoryCCMake => Modules
2010-12-14 17:00David ColeAssigned To => Bill Hoffman
2010-12-14 17:00David ColeStatusnew => assigned
2016-06-10 14:27Kitware RobotNote Added: 0041631
2016-06-10 14:27Kitware RobotStatusassigned => resolved
2016-06-10 14:27Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0018794)
mumg   
2009-12-10 11:07   
Category should be changed to Modules
I'm sorry for inconvenience.
(0041631)
Kitware Robot   
2016-06-10 14:27   
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.