ios - To what extent can I make my C++/OpenGL project work on both iPad and PC? -
i'm developing little game on linux @ moment i'd try making ipad app out of it.
i've been looking on tutorials , seems i'll able make core c++ code compile on xcode without modification (it has no dependencies outside standard library), , if use opengl sdl ui bulk of code should portable well.
i assume amount of code have different between build processes, i'd minimise that. i've never done xcode development before, can please advise on following:
- will able make xcode project point core library source tree , compile without dicking around it, inserting project files etc? in other words, can keep xcode-specific files somewhere different? use cmake on linux , like keep out-of-tree build approach.
- what @ sdl layer have done differently ios build? in other words, if have slave
libgraphics
library sdl , can paint core state context provided master application, how create context differently on ios compared linux?
at moment know nothing particulars of window creation , user input on ios, or apple product caveats (e.g. how respond ipad going sleep). i'd appreciate pointers of real question here how structure project maximally cross-platform?
Comments
Post a Comment