Camille Troillard
2009-Jun-05 09:49 UTC
[LLVMdev] Creating a LLVM Project from the Sample project
Hello, I have followed the steps described in http://llvm.org/docs/Projects.html. It seems there is a problem with the AutoRegen.sh script. In order to get the whole sample project working in a directory outside of llvm directory structure, I had to replace lines 22 and 23 by : llvm_src_root=../llvm llvm_obj_root=../llvm I am not a configuration specialist, so I can't tell if this is a good fix, but it works. I should also add that in order to fully customize the sample project, there is some additional work to rename existing directories and their references in configure.ac. These additional steps are not described in the "Creating an LLVM Project" document. Best, Cam
2009/6/5 Camille Troillard <camille at osculator.net>:> > I have followed the steps described in http://llvm.org/docs/Projects.html. > It seems there is a problem with the AutoRegen.sh script. >I'm not sure anyone actually uses that -- the bug about it seems to be ignored: http://llvm.org/bugs/show_bug.cgi?id=1220 Perhaps if you add your findings to it it might get noticed?
Camille Troillard
2009-Jun-06 08:30 UTC
[LLVMdev] Creating a LLVM Project from the Sample project
On Sat, Jun 6, 2009 at 4:51 AM, me22<me22.ca at gmail.com> wrote:> > I'm not sure anyone actually uses that -- the bug about it seems to be > ignored: http://llvm.org/bugs/show_bug.cgi?id=1220 > > Perhaps if you add your findings to it it might get noticed?Thanks Scott, I think it was the same bug. I am using Xcode now, though :-( For those who are interested, here is a Xcode build configuration file for those who would like to build their project against LLVM. It was inspired from what I found in clang. -------------- next part -------------- A non-text attachment was scrubbed... Name: llvm-tool.xcconfig Type: application/octet-stream Size: 1307 bytes Desc: not available URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090606/7c97fa57/attachment.obj>