mirror of
https://github.com/reactos/CMake.git
synced 2024-11-25 12:40:06 +00:00
Rename Modules/Platform/Windows-{Borland => Embarcadero}.cmake
The Borland compiler is now the Embarcadero compiler. Rename the shared platform information file to reflect this. This does not change the interface, as old versions are still "Borland", but will allow new versions released by Embarcadero to be supported cleanly.
This commit is contained in:
parent
d03606a19c
commit
3f78ced7c2
@ -1,2 +1,2 @@
|
||||
include(Platform/Windows-Borland)
|
||||
__borland_language(C)
|
||||
include(Platform/Windows-Embarcadero)
|
||||
__embarcadero_language(C)
|
||||
|
@ -1,2 +1,2 @@
|
||||
include(Platform/Windows-Borland)
|
||||
__borland_language(CXX)
|
||||
include(Platform/Windows-Embarcadero)
|
||||
__embarcadero_language(CXX)
|
||||
|
@ -13,10 +13,10 @@
|
||||
# License text for the above reference.)
|
||||
|
||||
# This module is shared by multiple languages; use include blocker.
|
||||
if(__WINDOWS_BORLAND)
|
||||
if(__WINDOWS_EMBARCADERO)
|
||||
return()
|
||||
endif()
|
||||
set(__WINDOWS_BORLAND 1)
|
||||
set(__WINDOWS_EMBARCADERO 1)
|
||||
|
||||
SET(BORLAND 1)
|
||||
|
||||
@ -67,7 +67,7 @@ SET (CMAKE_MODULE_LINKER_FLAGS_INIT ${CMAKE_SHARED_LINKER_FLAGS_INIT})
|
||||
SET (CMAKE_MODULE_LINKER_FLAGS_DEBUG_INIT ${CMAKE_SHARED_LINKER_FLAGS_DEBUG_INIT})
|
||||
SET (CMAKE_MODULE_LINKER_FLAGS_RELWITHDEBINFO_INIT ${CMAKE_SHARED_LINKER_FLAGS_RELWITHDEBINFO_INIT})
|
||||
|
||||
macro(__borland_language lang)
|
||||
macro(__embarcadero_language lang)
|
||||
set(CMAKE_SHARED_LIBRARY_${lang}_FLAGS "-tWD")
|
||||
|
||||
# compile a source file into an object file
|
Loading…
Reference in New Issue
Block a user