[cfe-commits] r97311 - in /cfe/trunk/examples: CMakeLists.txt clang-interpreter/CMakeLists.txt
Daniel Dunbar
daniel at zuster.org
Sat Feb 27 12:31:13 PST 2010
Awesome, thanks!
- Daniel
On Fri, Feb 26, 2010 at 11:46 PM, Kovarththanan Rajaratnam
<kovarththanan.rajaratnam at gmail.com> wrote:
> Author: krj
> Date: Sat Feb 27 01:46:49 2010
> New Revision: 97311
>
> URL: http://llvm.org/viewvc/llvm-project?rev=97311&view=rev
> Log:
> Wire up Daniel's new spiffy C interpreter into the CMake build system
>
> Added:
> cfe/trunk/examples/clang-interpreter/CMakeLists.txt
> Modified:
> cfe/trunk/examples/CMakeLists.txt
>
> Modified: cfe/trunk/examples/CMakeLists.txt
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/CMakeLists.txt?rev=97311&r1=97310&r2=97311&view=diff
> ==============================================================================
> --- cfe/trunk/examples/CMakeLists.txt (original)
> +++ cfe/trunk/examples/CMakeLists.txt Sat Feb 27 01:46:49 2010
> @@ -1,3 +1,4 @@
> +add_subdirectory(clang-interpreter)
> add_subdirectory(PrintFunctionNames)
> add_subdirectory(wpa)
>
>
> Added: cfe/trunk/examples/clang-interpreter/CMakeLists.txt
> URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/examples/clang-interpreter/CMakeLists.txt?rev=97311&view=auto
> ==============================================================================
> --- cfe/trunk/examples/clang-interpreter/CMakeLists.txt (added)
> +++ cfe/trunk/examples/clang-interpreter/CMakeLists.txt Sat Feb 27 01:46:49 2010
> @@ -0,0 +1,30 @@
> +set(LLVM_NO_RTTI 1)
> +
> +set(LLVM_USED_LIBS
> + clangFrontend
> + clangDriver
> + clangCodeGen
> + clangSema
> + clangChecker
> + clangAnalysis
> + clangRewrite
> + clangAST
> + clangParse
> + clangLex
> + clangBasic
> + )
> +
> +set(LLVM_LINK_COMPONENTS
> + jit
> + interpreter
> + nativecodegen
> + bitreader
> + bitwriter
> + ipo
> + selectiondag
> + )
> +
> +add_clang_executable(clang-interpreter
> + main.cpp
> + )
> +add_dependencies(clang-interpreter clang-headers)
>
>
> _______________________________________________
> cfe-commits mailing list
> cfe-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
>
More information about the cfe-commits
mailing list