On 01/06/2011 05:02 PM, Samuel Crow wrote:
> Hello,
> 
> I've built LLVM 2.9SVN successfully with CMake under XCode but had some 
> workarounds needed to get to that point.
> 
> 1.  Building in debug mode there was one archive file dependency that looked 
> for 
> the release folder instead of the debug folder.

I suspect the error is in the CMakeLists.txt of the LLVM project.

> 2.  The install target failed to put a sudo -A in front of it.  This is 
> required 
> even when logged in as administrator on the Mac.

Do you really want to install into the system from Xcode??? Do normal
Xcode projects allow this (I never tried, and probably never will)?
Would this even be desirable?

The proper thing to do would be to build a package, and then install
that into the system.

> 3.  Since there is no console input source available in XCode, a small 
> executable was needed to accept the password and echo it to stdout for the 
> sudo 
> -A flag to use.  I've written such a requester box code in Qt and would be 
> willing to share with the CMake team if desired.

Wouldn't that be easier with a small applescript (subject to my
reservations from 2.)?

> 
> Thanks for your time and efforts,
> 
> --Samuel D. Crow


_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to