mirror of
https://github.com/reactos/CMake.git
synced 2024-11-28 05:50:42 +00:00
bdbbf763d6
The Borland compiler was re-branded as CodeGear during 2007-2009 and since 2009 is the Embarcadero compiler. They offer predefined macros: http://docwiki.embarcadero.com/RADStudio/en/Predefined_Macros and distinguish themselves by __CODEGEARC__ and __CODEGEARC_VERSION__. Version 6.30 (C++Builder XE) changed the meaning of some flags: http://docwiki.embarcadero.com/RADStudio/en/C%2B%2B_Compiler_Option_Changes_for_XE Teach Embarcadero compiler information files to generate build rules with flags matching the compiler version. Leave the flags unchanged for old Borland versions. Always set the BORLAND toolchain indicator for compatibility with existing projects that test it. Also set the EMBARCADERO indicator for newer toolchains.
4 lines
81 B
CMake
4 lines
81 B
CMake
set(_lang CXX)
|
|
include(Platform/Windows-Embarcadero)
|
|
__embarcadero_language(CXX)
|