CMAKE_BUILD_TYPE

Johan Engelen via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Thu Feb 2 14:06:47 PST 2017


On Thursday, 2 February 2017 at 20:58:30 UTC, Joseph Rushton 
Wakeling wrote:
> Is it recommended to use a particular CMAKE_BUILD_TYPE setting 
> when building an LDC release?  Or is this not used by LDC's 
> build scripts?

We use CMAKE_BUILD_TYPE to set up the D compiler flags.
For our release builds, we set it to "Release" 
(`-DCMAKE_BUILD_TYPE=Release`).

-Johan



More information about the digitalmars-d-ldc mailing list