Hi 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.
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..
I am getting more confused! This works in XCode for me, it is just two
files.
Does anyone have an example CMake file that includes Crbon headers,
links agains the carbon framework, etc? What I am doing is obviously
wrong.
This project is only two files and builds for me in XCode.
-Jason
_______________________________________________
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