projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
39c33e3
)
Don't define NDEBUG on MSVC_IDE and XCode builds. Fixes PR9155.
author
Oscar Fuentes
<ofv@wanadoo.es>
Sun, 6 Feb 2011 19:07:06 +0000
(19:07 +0000)
committer
Oscar Fuentes
<ofv@wanadoo.es>
Sun, 6 Feb 2011 19:07:06 +0000
(19:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@124985
91177308
-0d34-0410-b5e6-
96231b3b80d8
cmake/modules/HandleLLVMOptions.cmake
patch
|
blob
|
history
diff --git
a/cmake/modules/HandleLLVMOptions.cmake
b/cmake/modules/HandleLLVMOptions.cmake
index d4096e25933c6000afd753662ee9bd6b112bb95b..8ac79709c041379d05a657004327fc048937d889 100644
(file)
--- a/
cmake/modules/HandleLLVMOptions.cmake
+++ b/
cmake/modules/HandleLLVMOptions.cmake
@@
-33,7
+33,9
@@
if( LLVM_ENABLE_ASSERTIONS )
endif()
else()
if( NOT uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" )
endif()
else()
if( NOT uppercase_CMAKE_BUILD_TYPE STREQUAL "RELEASE" )
- add_definitions( -DNDEBUG )
+ if( NOT MSVC_IDE AND NOT XCODE )
+ add_definitions( -DNDEBUG )
+ endif()
endif()
endif()
endif()
endif()