CMake is an open-source, cross-platform family of tools designed to build, test and package software. CMake is used to control the software compilation process using simple platform and compiler independent configuration files, and generate native makefiles and workspaces that can be used in the compiler environment of your choice.
Note: When Cmake used for compiling a library: In this case, in build folder, the CMakeCache.txt is your old friend: configure. You need to make sure the CMakeCache.txt has the RIGHT configuration you want. Such as which compiler to use? What optimization flags to use? Otherwise you might find out your library is not that efficient.. Q & A: 1) How to check the variable in Cmake? grep Var CMakeCache.txt |
AuthorShaowu Pan Archives
December 2017
Categories
All
|