Re: [CMake] Internal CMake error with ExternalProject_Add and XCode

2013-02-21 Thread Todd Greer
y, Inc. -Original Message- From: cmake-boun...@cmake.org [mailto:cmake-boun...@cmake.org] On Behalf Of Bill Hoffman Sent: Thursday, February 21, 2013 8:31 PM To: cmake@cmake.org Subject: Re: [CMake] Internal CMake error with ExternalProject_Add and XCode On 2/21/2013 8:15 PM, Todd Greer

Re: [CMake] Internal CMake error with ExternalProject_Add and XCode

2013-02-21 Thread Bill Hoffman
On 2/21/2013 8:15 PM, Todd Greer wrote: add_definitions(-include global/Include.h) We call CMake with these two lines in a shell script: cmake -G Xcode .. cmake --build . --config Release It turns out that call to add_definitions is key. It worked perfectly until we added in the ExternalProject

Re: [CMake] Internal CMake error with ExternalProject_Add and XCode

2013-02-21 Thread Todd Greer
ake.org] On Behalf Of Bill Hoffman Sent: Thursday, February 21, 2013 11:41 AM To: cmake@cmake.org Subject: Re: [CMake] Internal CMake error with ExternalProject_Add and XCode On 2/21/2013 12:02 PM, Todd Greer wrote: > I'm having difficulty getting ExternalProject_Add to work with XCode. > It a

Re: [CMake] Internal CMake error with ExternalProject_Add and XCode

2013-02-21 Thread Bill Hoffman
On 2/21/2013 12:02 PM, Todd Greer wrote: I’m having difficulty getting ExternalProject_Add to work with XCode. It appears to be a CMake bug, and I’ll file it if no one corrects me. I’ve been unable to find any other reports of this issue. Should work Can you give a small example that shows

[CMake] Internal CMake error with ExternalProject_Add and XCode

2013-02-21 Thread Todd Greer
I'm having difficulty getting ExternalProject_Add to work with XCode. It appears to be a CMake bug, and I'll file it if no one corrects me. I've been unable to find any other reports of this issue. Specifically, I'm getting the following error: CMake Error at /Applications/CMake 2.8-10.app/Con