cmake
文章平均质量分 56
qq_38928068
这个作者很懒,什么都没留下…
展开
-
cmake导入第三方动态库
1.将第三方库的.so和jar文件拖入工程下的libs文件夹2.右键jar -> add as library3.在build.gradle下的dependencies 添加implementation fileTree(include: [’*.jar’], dir: ‘libs’)4.添加第三方库头文件路径到工程的库头文件的搜索路径下5.准备加载第三方库include_directories( ${COCOS2DX_ROOT_PATH}/…/libs/appLogger )添加库的头原创 2021-02-25 16:03:43 · 1098 阅读 · 0 评论 -
Ninja not found by CMake
CMake Error: CMake was unable to find a build program corresponding to “Ninja”. CMAKE_MAKE_PROGRAM is not set. You probably need to select a different build tool.解决办法:sudo ln -s /Users/minggo/Library/Android/sdk/cmake/3.10.2.4988404/bin/ninja /usr/local/原创 2020-10-26 16:08:45 · 1241 阅读 · 0 评论