Mercurial > projects > qtd
comparison cmake/FindD.cmake @ 257:17b5e13364b7 lifetime
(none)
author | maxter |
---|---|
date | Wed, 16 Sep 2009 13:56:02 +0000 |
parents | 2d061b52e077 |
children |
comparison
equal
deleted
inserted
replaced
256:b1abe7f57321 | 257:17b5e13364b7 |
---|---|
68 endif(D_IS_LLVM) | 68 endif(D_IS_LLVM) |
69 set(D_MODULES_PER_OBJECT 10000 CACHE STRING "Max number of modules per object file") | 69 set(D_MODULES_PER_OBJECT 10000 CACHE STRING "Max number of modules per object file") |
70 endif(NOT ONE_BUILD_COMMAND) | 70 endif(NOT ONE_BUILD_COMMAND) |
71 | 71 |
72 ## Specific flags for build configurations. | 72 ## Specific flags for build configurations. |
73 ## TODO: Add another targets. | 73 ## TODO: Add other targets. |
74 set(D_RELEASE_FLAGS -O -release) | 74 set(D_RELEASE_FLAGS -O -release) |
75 set(D_DEBUG_FLAGS -g ) | 75 set(D_DEBUG_FLAGS -g -debug=QtdVerbose) |
76 if(D_IS_LLVM) | 76 if(D_IS_LLVM) |
77 set(D_RELEASE_FLAGS ${D_RELEASE_FLAGS} -enable-inlining) | 77 set(D_RELEASE_FLAGS ${D_RELEASE_FLAGS} -enable-inlining) |
78 set(D_DEBUG_FLAGS ${D_DEBUG_FLAGS} -d-debug) | 78 set(D_DEBUG_FLAGS ${D_DEBUG_FLAGS} -d-debug) |
79 else(D_IS_LLVM) | 79 else(D_IS_LLVM) |
80 set(D_RELEASE_FLAGS ${D_RELEASE_FLAGS} -inline) | 80 set(D_RELEASE_FLAGS ${D_RELEASE_FLAGS} -inline) |