[CMake] Borland compiler: How to remove / override the -tWR option?

trustee at arcor.de trustee at arcor.de
Fri Apr 5 14:00:08 EDT 2013


Hi.

It seems that the Borland bcc compiler is hardcoded to be called with option -tWR. (meaning of the flag: use dynamic runtime library) 
Windows-Embarcadero.cmake sets an internal variable

set(_tR "-tWR -tW-")

and calls the compiler with

"<CMAKE_${lang}_COMPILER> ${_tR} ...".

Do you see any way to remove / override this -tWR option?


More information about the CMake mailing list