I have a static library that shares a lot of source between the OS X and Windows versions. Both versions use CMAKE. I have thought about a linux version due to recent requests.
OS X and uses Carbon.
Windows uses straign win32 API, no MFC
is in C++ (.cpp)
My questions are:
For the OS X version Apple is throwing away 64-bit Carbon, so can I mix Carbon and Cocoa classes in this library? Do I just change all files to .mm (For Objective-C which i need for Cocoa)
If I change to .mm how does that affect Windows compilation?
If I change to .mm how does it affect Linux?
Can anyone provide some insight on how to accomplish this task?