-
cmake --version
查看CMake
版本 -
CMake的优势在于可以跨平台
CMake与OpenCV
OpenCV库的信息包括:版本、头文件路径和库路径
在CMakeLists.txt文件find_package(OpenCV REQUIRED)
之后
message(STATUS "OpenCV library status:")
message(STATUS "version: ${OpenCV_VERSION}")
message(STATUS "libraries: ${OpenCV_LIBS}")
message(STATUS "include path: ${OpenCV_INCLUDE_DIRS}")
标签:STATUS,CMake,记录,路径,学习,OpenCV,version,message
From: https://www.cnblogs.com/Todd-Qi/p/17080284.html