Include a library

Include a library
0.0 0


I want to use websocketpp library in my project and i don’t exactly know how can i include it. I have copied it’s files to external/websocketpp and added the following line to my CMakeFiles.txt: include_directories but when compiling for android it doens’t work, it just says that the file i tried to include doesn’t exist. Thank you for your help.


I think you should show more of what you did. Also, I think websockets is part of the coco2d-x build process anyway. You should just be able to include it and use it where you need it. Perhaps with CMake something is different though.