search for: llvm_build_enable_assertions

Displaying 2 results from an estimated 2 matches for "llvm_build_enable_assertions".

2014 Jul 18
2
[LLVMdev] Fixing LLVM's CMake interface before LLVM3.5 release
...hese flags aren't always necessary perhaps we should still expose them to clients but name it as LLVM_USED_CXX_FLAGS , we could also export the C flags (i.e. llvm-config --cflags) as LLVM_USED_C_FLAGS Also should we also expose whether or not LLVM was built with assertions? It's exposed as LLVM_BUILD_ENABLE_ASSERTIONS in the build directory but isn't available in the installed version of LLVM. I see no reason to hide this information. This is potentially useful information as well because it tells the client if NDEBUG was defined when LLVM was built. Mixing LLVM built with NDEBUG defined but then including L...
2014 Jul 16
5
[LLVMdev] Fixing LLVM's CMake interface before LLVM3.5 release
...s (i.e. are we deprecating or removing it for LLVM 3.5?) so the documentation can be rewritten accordingly. 3. The LLVMConfig.cmake file provides something like this... ``` # LLVM_BUILD_* values available only from LLVM build tree. set(LLVM_BUILD_BINARY_DIR "/home/dan/dev/llvm/bin") set(LLVM_BUILD_ENABLE_ASSERTIONS "ON") set(LLVM_BUILD_LIBRARY_DIR "/home/dan/dev/llvm/bin/./lib") set(LLVM_BUILD_MAIN_INCLUDE_DIR "/home/dan/dev/llvm/src/include") set(LLVM_BUILD_MAIN_SRC_DIR "/home/dan/dev/llvm/src") set(LLVM_BUILD_TOOLS_BINARY_DIR "/home/dan/dev/llvm/bin/./bin")...