Hi guys!
I want to add external lib to my iOS and Android project, but it requires CMake flags. The lib is - SOCI - http://soci.sourceforge.net/.
How can I do that?
Hi guys!
I want to add external lib to my iOS and Android project, but it requires CMake flags. The lib is - SOCI - http://soci.sourceforge.net/.
How can I do that?
are you building using cocos gen-libs ... in your terminal?
no, I don’t know how to build ((
Project I build with cocos tool.
Yeah, use cocos gen-libs ... and it should build. Take a look at the options it supports.
Ok, this is SOCI source folder, where I need to place it inside cocos2d-x project?

oh, sorry, I read this as you wanted to build Cocos2d-x as libraries. Sorry.
Usually external libraries have their own way to be built and you just add them to an include path or something. Cocos2d-x won’t built SOCI for you by putting it in a certain place.