_________________________________________________________
Mike Jackson                  mike.jack...@bluequartz.net
BlueQuartz Software                    www.bluequartz.net
Principal Software Engineer                  Dayton, Ohio



On Aug 6, 2009, at 3:52 PM, ML wrote:

Hey Mike,

Also is that a linker error or a compile error? Looks like a compile error. You probably have to include the location of the Carbon Headers.

What is the best way to do that exactly? I am in cluding Carbon/ Carbon.h in my source files. but I guess CMAKE needs to know where to fine them too. moving form XCode is harder than I thought it would be.

-Jason


include_directories (${CMAKE_OSX_SYSROOT}/Developer/Headers/FlatCarbon)

Then in your code you can do #include <Carbon.h>

Although I am not really sure this is the "correct" way to do this.

I think you should be really looking for the "Carbon.framework" and then using that..

Mike
_______________________________________________
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