[CMake] Good sample code for finding and using os x frameworks?
Andrew Wagner
awagner at uiuc.edu
Thu Apr 5 17:22:44 EDT 2007
Hello-
I'm writing some software that I'm trying to keep as portable as
possible, but alas will need to use some apple-specific code to query
mouse position. Are there any good examples for the current best
way of doing this? i.e. should my source have #include <framework/
header.h> or just #include<header.h>? Are there modules for finding
the standard os x frameworks, or should I hard code the paths in my
CMakeLists.txt? I hunted around a lot for this, but all I could find
were discussions on the mailing list that did not seem to imply any
sort of consensus yet, and were discussing future development. I'm
still new to cmake, so please forgive me if I'm not even asking the
right question.
For the time being, I don't care about creating frameworks; just
using existing ones supplied by apple.
Thanks,
Drew
More information about the CMake
mailing list