MantisBT - CMake
View Issue Details
0012296CMakeCMakepublic2011-06-22 00:112016-06-10 14:31
spa 
Kitware Robot 
normalminoralways
closedmoved 
 
 
0012296: can't make project for C++Builder XE
It is not possible to generate a C++Builder XE (from Embarcadero RAD Studio XE) project or compatible makefile
No tags attached.
Issue History
2011-06-22 00:11spaNew Issue
2011-06-22 08:17David ColeAssigned To => David Cole
2011-06-22 08:17David ColeStatusnew => assigned
2011-06-22 08:24David ColeNote Added: 0026947
2011-06-22 08:25David ColeAssigned ToDavid Cole =>
2011-06-22 08:25David ColeStatusassigned => backlog
2011-06-22 10:46Brad KingNote Added: 0026953
2011-06-22 10:48Brad KingNote Added: 0026954
2011-07-16 08:01SimonNote Added: 0027044
2016-06-10 14:28Kitware RobotNote Added: 0041854
2016-06-10 14:28Kitware RobotStatusbacklog => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:28Kitware RobotAssigned To => Kitware Robot
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0026947)
David Cole   
2011-06-22 08:24   
Well it would certainly be possible if somebody writes the code to handle this build system.

If an interested party would like to fund this work, or volunteer a code contribution, then this issue may have a chance of being 'fixed' -- otherwise, it's unlikely.

(This is the first I've heard about somebody using "Embarcadero RAD Studio XE.")
(0026953)
Brad King   
2011-06-22 10:46   
For reference, "Embarcadero RAD Studio XE" is a descendant of the Borland compiler.
(0026954)
Brad King   
2011-06-22 10:48   
I've never used this compiler but given its ancestry there is one thing to try. Run CMake from a command prompt whose environment is configured for this compiler. Choose the "Borland Makefiles" generator and then use "make".
(0027044)
Simon   
2011-07-16 08:01   
I've been successful in getting cmake to build projects with the XE comiler (6.31).

The following worked for me:
CMAKE_C_FLAGS -tM
CMAKE_CXX_FLAGS -tM
CMAKE_SHARED_LINKER_FLAGS -tCDR -lS:10000000 -lSc:10000000
CMAKE_EXE_LINKER_FLAGS -tWM -lS:10000000 -lSc:10000000

I have on occasion found it necessary to change/add some of the object files used for linking due to unicode builds.

The following link details the changes that were made that appear to have cuased the problems for cmake defaults:
http://docwiki.embarcadero.com/RADStudio/en/C++_Compiler_Option_Changes_for_XE [^]
(0041854)
Kitware Robot   
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.