3 #include <Carbon/Carbon.h>
5 extern int foo(char* exec
);
7 int main(int argc
, char* argv
[])
9 printf("Started with: %d arguments\n", argc
);
11 // Call a "Carbon" function... but pull in the link dependency on "-framework
12 // Carbon" via CMake's dependency chaining mechanism. This code exists to
13 // verify that the chaining mechanism works with "-framework blah" style
16 CFBundleRef br
= CFBundleGetMainBundle();