![]() ![]() Specifically, we tell CMake to link the OpenSSL::SSL target provided by the. So for the asio/1.14.0 package, a Findasio.cmake file will be generated. This tells CMake that we're looking for a set of libraries and header files. The name of the files follow the pattern Find.cmake.![]() The cmakefindpackage generator creates a file for each requirement specified in the conanfile. Native C++ native c++CMakeJNI librtmp clonertmpdump librtmp/src/main/cpp: librtmpCMake cppCMakeLists.txtlibrtmp librtmpCMakeLists. Usage requirements from linked library targets will be propagated. ä¿®æ¹cppç®å½ä¸çnative-lib.cppæ件ï¼å¼ç¨librtmpç®å½çrtmp. Go to Integrations/CMake if you want to learn how to integrate your project or recipes with CMake. Specify libraries or flags to use when linking a given target and/or its dependents. ![]() calling targetlinklibraries between Bar and Foo. Set(CMAKE_C_FLAGS "$) ä¹ãä¿®æ¹native-lib.cpp代ç æå°rtmpççæ¬å· target link interface, Ill have to explicitly link against Foo for MyApp. The targetlinklibraries () command, however, only allows for two configurations, at most, mapped to labels 'debug' and 'optimized. The external project, in my case, is a CMake-compiled project and CMake predictably builds a matching configuration in the external project. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |