A Small Tip on CMake and QT Development Environment

A Small Tip on CMake and QT Development Environment

OpenCV Version: 4.2.0 OpenCV-Contrib Version: 4.2.0 CMake Version: 3.20.0 When developing image algorithms with OpenCV, being able to display the pixel where the mouse falls on the image can greatly improve development efficiency. I searched this issue and found that most bloggers use callback functions to solve it, which not only adds extra complexity but … Read more

CLion Tutorial – CMakeLists.txt in CLion

CLion Tutorial - CMakeLists.txt in CLion

CMakeLists.txt file contains a set of instructions and descriptions that define the source files and targets (executable files, libraries, or both) of a project. When you create a new project, CLion automatically generates a CMakeLists.txt file and places it in the project root directory. To open the project, you can point CLion to the top-level … Read more

Automatically Download and Install Third-Party Libraries with CMake

Automatically Download and Install Third-Party Libraries with CMake

* GreatSQL Community Original Content Cannot Be Used Without Authorization, Please Contact the Editor for Reprinting and Indicate the Source. Introduction In daily development, it is inevitable to use third-party libraries or to store some libraries separately. If the libraries are placed together with the code, it will inevitably lead to a large project. At … Read more

Everything You Need to Know About Using CMake in Android

Everything You Need to Know About Using CMake in Android

Today’s Tech News Recently, Google held its hardware launch event in New York, themed “Made By Google,” unveiling a series of new hardware products including the Pixel phone, a 2-in-1 tablet, and speakers. Over the past month, the four major tech giants in the U.S., including Google, Microsoft, Apple, and Amazon, have successively released their … Read more

CLion Tutorial – CMake Performance Analysis

CLion Tutorial - CMake Performance Analysis

Through CMake performance analysis, you can identify the most time-consuming operations when reloading projects and optimize your CMake scripts when necessary. Performance analysis is applicable to CMake version 3.18 and above. CMake stores results in Google’s tracing event format. CLion’s integrated features can help you run traces and visualize the results. Performance analysis is not … Read more

Essential Guide to Managing C++ Projects with CMake

Essential Guide to Managing C++ Projects with CMake

1. Background CMake is a product derived from the development of several toolkits (VTK) by Kitware and some open-source developers, ultimately forming a system and becoming an independent open-source project. Its official website is cmake.org, where you can find more information about CMake. It is a cross-platform build tool that can describe the build process … Read more

CMake Configuration Files in CLion

CMake Configuration Files in CLion

The settings required to build a CMake project are consolidated into a CMake configuration file. It includes the toolchain and build type, as well as CMake options such as generators and environment variables. You can configure multiple configuration files for a project to build targets with different compilers or different settings. To set up a … Read more

Design Concepts and Usage of Modern CMake Tools

Design Concepts and Usage of Modern CMake Tools

Link: https://ukabuer.me/blog/more-modern-cmake/ For C/C++ developers, managing projects often becomes quite tricky when it comes to complex third-party dependencies, especially when cross-platform development is required. CMake, as a cross-platform build process management tool, provides mature solutions for finding and introducing third-party dependencies, creating build systems, testing programs, and installation. By writing a CMakeLists.txt file once and … Read more

Linux Software Package Management: RPM

Linux Software Package Management: RPM

1 Overview In our daily development and operations work, we encounter various software packages; software packages can be broadly divided into two categories: binary files, such as (exe, rpm, bin, etc.); the other category is source files (various tarballs). This article will introduce the most commonly used RPM software package in Linux systems, discussing the … Read more