cmake
How to add macro's definition in cmake?
I am using Mongodb client and Boost in my C++ applic开发者_运维百科ation. Because the Mongodb client is still using Boost old filesystem and my C++ application is using filesystem version 3 from boost[详细]
2023-03-22 07:27 分类:问答CMake add_subdirectory()
Introduction: I am trying to use CMake to obtain cross platform compilation scripts (for VS 9.0 on a Windows32 and Makefiles for Unix).[详细]
2023-03-21 15:37 分类:问答CMake and OpenCV 2.3 troubles
I am trying to compile/build OPenCV 2.3 with the help of CMake/Mingw.I got the source from there site, superpack as the call their package. I extracted it and placed it in c:\\opencv2.3.[详细]
2023-03-21 11:40 分类:问答How to build DCMTK library to use in iPhone project?
I\'m newbie to iPhone programming.I want to use DCMTK library in my iPhone project to display DICOM image but I don\'t know how.[详细]
2023-03-21 10:30 分类:问答I can't link library with CMake
I used firebreath to make npAPI Plugin. My Code uses giblib, so I add this code in CMakeLists.txt find_library(TESTLIB_LIBRARY2 giblib)[详细]
2023-03-21 03:45 分类:问答CMake find_path not working on MinGW
I have an issue when using find_path CMake command on windows and MinGW. Consider the following code: find_path(FINDPATH_TEST stdio.h)[详细]
2023-03-21 00:58 分类:问答How can I find libraries to load them dynamically with dlopen
In the project I am working on, we provide the possibility to dynamically load additional features. For that we use dlopen.[详细]
2023-03-20 23:20 分类:问答CMAKE: performing a file copy AFTER a custom command has run
I have a build script fragment that looks as follows: foreach(...) ... add_custom_command( OUTPUT ${fn_c} ${fn_s} ${fn_p_c} {fn_p_h}[详细]
2023-03-20 18:48 分类:问答CMAKE: Creating and building a list within a function -- with directory, or global scope
I am not entirely familiar with the scoping rules of cmake. I need to buildup a list of various files whilst doing RPC code-generation for an IDL.[详细]
2023-03-20 12:24 分类:问答Unknown command "ogre_config_sample_lib" when cmake samples of OGRE
An error of Unknown CMake command \"ogre_config_sample_lib\" happens when I tried to use cmake in OGRE Sample folders after installing OGRE. I had taken the following steps before this error happened:[详细]
2023-03-20 10:12 分类:问答