CMAKE_BUILD_TYPE

Joseph Rushton Wakeling via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Thu Feb 2 14:28:15 PST 2017


On Thursday, 2 February 2017 at 22:06:47 UTC, Johan Engelen wrote:
> 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`).

Great, thanks.  I came across this courtesy of trying to build 
LLVM from scratch, and wondering why the build was taking up such 
an extraordinary amount of disk space ... all those debug symbols 
;-)

I'll add it to the snap package definition accordingly.


More information about the digitalmars-d-ldc mailing list