Application and Practice of CMake

Application and Practice of CMake

Click on “Computer Vision Life” above and select “Star”. Quickly obtain the latest content. The SLAM Study Group has summarized all previous live streams, including videos and PPTs, for everyone’s secondary learning. Topic: “Application and Practice of CMake” Content: Using CMake, common commands, practical examples. Guest:Master’s from Jilin University, responsible for intelligent driving software system … Read more

CMake Compilation Tool and Project Building

CMake Compilation Tool and Project Building

Follow the public account “CV Research Society“ Set it as “Starred“, heavy content delivered to you first! Article Guide This article starts with the compilation process of C/C++ code, clarifying the relationship between Make and Makefile, CMake and CMakeLists, and finally providing examples based on the syntax rules of CMakeLists to help everyone become familiar … Read more

How to Write CMakeLists.txt? (Part 1: Basics)

How to Write CMakeLists.txt? (Part 1: Basics)

Click on the “3D Vision Workshop” above and select “Star” Get valuable content delivered promptly The 62nd Article of 3D Vision Workshop This article summarizes the method of writing CMakeLists.txt files on the linux platform. 1 General Modules at the Beginning 1.1 CMake Version Requirement cmake_minimum_required( VERSION 2.8 ) # Project filename loop_closure, can be … Read more

Compiling OpenCV 4.8.1 with CMake and Visual Studio 2022 on Windows

Compiling OpenCV 4.8.1 with CMake and Visual Studio 2022 on Windows

1. Background The project I am currently maintaining runs on Windows and uses OpenCV version 4.5.2. My local development environment is a Mac, and I am using the newer OpenCV version 4.8.1. To maintain consistency with my local development environment, I plan to upgrade the OpenCV used in the project, as the project still utilizes … Read more

Differences and Connections Between CMake, NMake, and QMake

Differences and Connections Between CMake, NMake, and QMake

This article is reproduced from Zhihu, the link and author information are as follows. Author: Hui Chang Ge Link: https://www.zhihu.com/question/27455963/answer/89770919 Source: Zhihu Copyright belongs to the author. For commercial reproduction, please contact the author for authorization, and for non-commercial reproduction, please indicate the source. I often forget these concepts, even after reading them several times, … Read more

Quick Start Guide to CMake

Quick Start Guide to CMake

Link: https://www.hahack.com/codes/cmake/ Recommended: Hello Series | CMake Brief Basics What is CMake You may have heard of several Make tools, such as GNU Make, QT’s qmake, Microsoft’s MS nmake, BSD Make (pmake), Makepp, etc. These Make tools follow different specifications and standards, and the Makefile formats they execute vary widely. This brings a serious problem: … Read more

Overview of Common CMake Commands: Essential Project Management Insights

Overview of Common CMake Commands: Essential Project Management Insights

1. Introduction CMake is much simpler than autotools. Next, let’s take a closer look at the common commands provided by CMake. In previous articles, we have discussed many command usages such as PROJECT, ADD_EXECUTABLE, INSTALL, ADD_SUBDIRECTORY, SUBDIRS, INCLUDE_DIRECTORIES, LINK_DIRECTORIES, TARGET_LINK_LIBRARIES, and SET. This section introduces more CMake commands, arranged in the order of the CMake … Read more

Getting Started with CMake: HelloWorld Bin

Getting Started with CMake: HelloWorld Bin

Starting a new series on CMake today, the latest release is on the platform, welcome to join and get first-hand resources. Each issue will be driven by examples and directories, learning step by step, feel free to bookmark and share. Generating Executable Files Assuming we only have a .cc file. Create a CMakeLists.txt file in … Read more