cmake
CMakes can't find boost (and most anything else) on Windows
So I\'ve got boost installed in开发者_如何学Go C:\\Program Files\\boost_1_47_0\\, with the library files in ./stage/lib/ and include files in ./boost/*[详细]
2023-04-04 23:35 分类:问答How do I define a variable when I call CMake, so that qtcreator knows it is defined?
I have a section of code that is conditionally activated depending on a #define, like this: #ifdef VARIABLE[详细]
2023-04-04 20:40 分类:问答Problems with cpack creating deb packages
I set CPACK_PACKAGE_CONTACT and CPACK_DEBIAN_PACKAGE_MAINTAINER in my main CMakeListst.txt. cmake itself runs an the created CPackConfig.cmake and CPackSour开发者_StackOverflow社区ceConfig.cmake both[详细]
2023-04-04 16:16 分类:问答Linking problem with OpenCV and CMake
I am writing a program which uses OpenCV (installed in a local directory, since I don\'t have root permissions on that machine), and I have written the corresponding CMakeLists.txt file. My problem is[详细]
2023-04-04 15:52 分类:问答Building opencv with cmake error
I am trying to build opencv with cmake and am running into issues. I have downloaded the Windows opencv 2.3.1 to C:/Users/chris/opencv.I open up the CMake GUI (2.8.5 version of CMake) and put the sou[详细]
2023-04-04 04:50 分类:问答How to disable generation of shared objects (.so's) of a third-party library(mysql) which uses cmake
I am trying to build MySql Connector C(6.0.2) from source and the default build exports .so\'s in addition to the static libraries(.a\'s). I wanted to suppress the generation of the .so\'s and t开发者[详细]
2023-04-03 17:17 分类:问答Making my program compile on both windows and linux, what should I do about libraries?
I\'m using CMake to generate my makefiles and VC solutions. I have my program running on linux just fine. I\'m using a bunch of libraries, e.g. Lua. On my linux computer I just link to them and make s[详细]
2023-04-03 13:22 分类:问答Included directories not being found when using CMake on Windows
This project compiles find when run under Linux, but fails when I try to make a VC solution for Windows. The error is:[详细]
2023-04-03 13:04 分类:问答How to link static library with cmake in 64bit linux?
I build my project with cmake in linux. I link some static libraries by using set(BUILD_SHARED_LIBS FALSE)[详细]
2023-04-02 19:32 分类:问答How do I add a configuration variable to my CMake script?
I\'d like to add a variable that the us开发者_运维技巧er must set after clicking \"Configure\" in cmake-gui. Is there a way to do this?Using the set command, specify CACHE parameters, e.g.[详细]
2023-04-02 09:44 分类:问答