I have been looking on the Internet, but I can not find the answer to my question is that nothing (or I Do not know what to find out). Anyway this is my problem: I want to use the third dual libraries (.dlls) files in my seamkake project. Library () which I want to include, is open source and which also wants to use in binary, also uses SIMKE as a working device, if it is relevant I hope That was quite clear that I was quite clear. After his CMakeLists.txt First, edit you two things to include your third party library will need: for example, to link the path to link files and library file: Next, you do this for other libraries And when every library is detected, the link to the target: Then you can go to CMake You can configure your project with, but this is not as any magic method to find your installed library, it will not get anything, but it will create two variables: Use the CMake GUI directory containing the header file o Pointing to the Repeat, reconfigure and compile for every third-party library.
target_link_libraries (yourtarget $ {YOUR_LIBRARIES})
SIFTGPU_INCLUDE_DIR And
SIFTGPU_LIBRARY
SIFTGPU_INCLUDE_DIR . And
SIFTGPU_LIBRARY
Liberalization file of your third party library.
Tuesday, 15 September 2015
c++ - How to use external DLLs in CMake project -
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment