cmake 加载目录中多个文件

来源:互联网 发布:win10打开网络无反应 编辑:程序博客网 时间:2024/06/07 01:38

cmake 加载目录中多个文件

file(GLOB magick_hdrs "src/main/cpp/*.cpp")add_library( # Sets the name of the library.             native-lib             # Sets the library as a shared library.             SHARED             # Provides a relative path to your source file(s).             ${magick_hdrs} )



原创粉丝点击