<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Óscar,</div><div><br></div><div>Could you take a look at having -I ${CMAKE_CURRENT_BINARY_DIR} included by default in the CMAKE_CXX_FLAGS, or offer hints how to do it ?</div><div><br></div><div>-Argiris</div><br><div><div>On Feb 14, 2011, at 10:13 AM, Argyrios Kyrtzidis wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt<br>URL:<span class="Apple-converted-space"> </span><a href="http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt?rev=125503&r1=125502&r2=125503&view=diff">http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt?rev=125503&r1=125502&r2=125503&view=diff</a><br>==============================================================================<br>--- cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt (original)<br>+++ cfe/trunk/lib/StaticAnalyzer/Checkers/CMakeLists.txt Mon Feb 14 12:13:31 2011<br>@@ -1,3 +1,14 @@<br>+set(LLVM_TARGET_DEFINITIONS Checkers.td)<br>+tablegen(Checkers.inc<br>+         -gen-clang-sa-checkers<br>+         -I ${CMAKE_CURRENT_SOURCE_DIR}/../../../include)<br>+add_custom_target(ClangSACheckers<br>+  DEPENDS Checkers.inc)<br>+<br>+# So 'Checkers.inc' can be included from the cmake build directory.<br>+# FIXME: Someone more familiar with cmake should enable this for all of LLVM.<br>+set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -I ${CMAKE_CURRENT_BINARY_DIR}")<br>+<br>set(LLVM_USED_LIBS clangBasic clangAST)<br></span></blockquote></div><br></body></html>