I've never tried this before so any and all comments or suggestions will be very appreciated. The big picture is that I'm trying to use C++ files within an iOS app.
The whole project started with C++ files. Not Objective-C (or Swift). C++ codes worked by themselves.
I was able to create a working build using cmake -G Xcode ..
To run this build properly, I need to pass adjust "Arguments Passed On Launch" under edit scheme, and it runs perfectly.
Now comes the questions.
1) How do I link schemes so that it can while on an iOS app, I can initiate this C++ build?
2) Is there a way to programmatically send "Arguments Passed On Launch"?
3) Right now, C++ build uses cout to show the results in the main.cpp file. How do I generate output so that it can be sent to an Objective-C file?
Any small or big feedbacks or suggestions will be very appreciated. Thank you.
http://wyleczsiezdrowiem.pl/