Displaying 3 results from an estimated 3 matches for "add_llvm_exampl".
Did you mean:
add_llvm_example
2011 Mar 15
2
[LLVMdev] How to choose targets to build in CMake?
...all first):
cmake/modules/LLVMConfig.cmake:47 (explicit_map_components_to_libraries)
cmake/modules/LLVMConfig.cmake:40 (explicit_llvm_config)
cmake/modules/AddLLVM.cmake:82 (llvm_config)
cmake/modules/AddLLVM.cmake:114 (add_llvm_executable)
examples/Kaleidoscope/Chapter4/CMakeLists.txt:3 (add_llvm_example)
-- Configuring incomplete, errors occurred!
When I try the autotools, I can get what I want by running configure with
--enable-targets=some-backend
Any ideas? I use cmake 2.8.0 on a fedora 10 i686 and I check out llvm from
the svn repository.
--
Regards,
Dongrui
-------------- next part --...
2012 Aug 10
1
[LLVMdev] how to compile my LLVM project with CMake (on Windows)?
...ect, renamed it to
"examples\BrainF2" (and i still put BrainF2 under the same examples\
directory)
next, inside BrainF2, i run on Windows console:
c:\llvm-3.1\examples\BrainF2\> cmake -G "Visual Studio 9 2008"
but then cmake complains error like "unknown CMake command add_llvm_example"
so i guess what i did is totally wrong. but i cannot find any doc
mentioning how to compile a project with CMake.
any help, please?
2012 Sep 06
2
[LLVMdev] How to build the 'example' projects ?
...ake a separate project,
which is all what the documentation seems to focus upon .
I am trying to correctly build the programs in the llvm/examples
directory and can't find how to.
The examples directory contain a CMakeLists.txt, so I tried cmake,
giving the error:
# Unknown CMake command "add_llvm_example".
Also, each individial sub folder has a Makefile, running which gives,
for example:
"
[manasij7479 at manasijd HowToUseJIT]$ make
../../Makefile.common:60: ../../Makefile.config: No such file or directory
../../Makefile.common:68: /Makefile.rules: No such file or directory
make: *** No...