Tagged articles
CMake
21 articles · Page 1 of 1
This article walks you through setting up a powerful C/C++ development environment on Linux using VSCode, covering toolchain installation, essential extensions, project initialization, key configuration files, large‑project tips, and a hands‑on Clangd example, all with clear code snippets and explanations.
C++CMakeClangd
0 likes · 44 min read

This guide walks you through installing and configuring four major C++ development tools—Visual Studio, GCC, Clang, and CMake—covering platform-specific steps for Windows, Linux, and macOS, and highlights each tool’s advantages to help you choose the right environment for your projects.
C++CMakeClang
0 likes · 6 min read

This article walks you through why CMake is a more elegant, cross‑platform alternative to hand‑written Makefiles, explains its core benefits, and provides a complete, hands‑on tutorial that covers the basic workflow, a minimal project example, multi‑source handling, and multi‑directory organization with clear code snippets.
C++CMakeMakefile
0 likes · 13 min read

This article provides a comprehensive introduction to Android NDK development, covering JNI fundamentals, data type mappings, method registration (static and dynamic), JNIEnv usage, CMake build configuration, and multiple practical code examples in Kotlin, C++, and C.
AndroidC++CMake
0 likes · 12 min read


JD TechSep 26, 2024 · Backend Development
This article details the process of adapting the V8 JavaScript engine for HarmonyOS, covering engine selection, cross‑compilation using CMake and Ninja, toolchain configuration, building builtins and snapshots, and integrating the resulting library into native HarmonyOS applications.
CMakeCross-compilationEmbedded
0 likes · 20 min read

This article explains why the Roma framework needs a JavaScript engine on HarmonyOS, compares mainstream JS engines, details V8's architecture and JIT pipeline, and provides a step‑by‑step process for cross‑compiling V8 with CMake, GN, Ninja and the HarmonyOS SDK, including code examples and tooling tips.
CMakeCross-compilationHarmonyOS
0 likes · 40 min read

This article explains the need to adapt the Roma framework for HarmonyOS by selecting and analyzing the V8 JavaScript engine, describes its internal components such as the parser, Ignition interpreter, TurboFan JIT compiler and Orinoco garbage collector, and provides a step‑by‑step guide for cross‑compiling V8 with CMake, GN, Ninja and tool‑chain files to produce a usable library for HarmonyOS native projects.
CMakeCross-compilationHarmonyOS
0 likes · 36 min read

This article walks through why Android 15’s 16 KB page size is a hidden trap for native libraries, shows how to locate 4 KB assumptions in code, and provides step‑by‑step CMake/Android‑mk adjustments, tooling commands, and debugging tips to ensure your .so files load correctly.
16KB page sizeAndroidCMake
0 likes · 9 min read

The article details the complete process of porting QQ's NTRTC audio/video SDK to Linux, covering platform surveys, packaging, build‑time issues like GLIBC mismatches and fPIC errors, debugging steps, Qt/Electron demos, GPU blocklist workarounds, and future compatibility plans.
AudioVideoCMakeDebugging
0 likes · 30 min read

This tutorial walks you through installing the required dependencies, cloning the PCL source code, creating a build directory, configuring with CMake, and compiling and installing the Point Cloud Library on Ubuntu, while noting optional configuration steps and referencing official documentation for further details.
CMakePCLPoint Cloud Library
0 likes · 3 min read

This article provides a step‑by‑step guide to using CMake for cross‑platform builds, covering fundamental concepts, basic project setup, adding versioning and configuration headers, creating libraries, optional components, installation, testing, packaging with CPack, dashboard integration, and practical usage within JetBrains CLion for C/C++ development.
C++CI/CDCMake
0 likes · 33 min read

This guide explains Linux software installation, comparing pre‑built binary packages with compiling from source, covering package managers, repository formats, build tools like CMake and make, and the advantages of each approach for stability, customization, and access to the latest features.
Binary PackagesCMakeLinux
0 likes · 8 min read

This guide explains the differences between binary packages and source code installations on Linux, covering how package managers work, the benefits of pre‑compiled binaries, and when compiling from source can be advantageous.
Binary PackagesCMakeLinux
0 likes · 9 min read

By adopting a unified architecture and a pre‑compilation strategy that leverages CI, git‑diff module detection, version‑managed manifests, and platform‑specific build tools, Tencent Meeting cut its C++ cross‑platform compile times from minutes to seconds, achieving up to 99 % speedup across Windows, Android, iOS and macOS.
C++CMakeCross-platform Development
0 likes · 30 min read

This article walks you through creating a nostalgic NES (FC) emulator using C++ and SFML, covering required tools, CMake build steps, command‑line usage, and default keybindings, while sharing personal reflections on summer gaming memories.
C++CMakeNES
0 likes · 4 min read

This article explains step‑by‑step how to build a MySQL debug binary inside a Docker container, covering environment preparation, dependency installation, configuring the build with CMake, compiling, and locating the resulting mysqld‑debug executable, while also noting performance trade‑offs of debug builds.
CMakeDebug BuildDocker
0 likes · 3 min read

CMake 3.19.2 introduces Apple ARM support, new variables for host processor selection, enhanced error handling, updated FindHDF5, Java test controls, CI job updates, and numerous bug fixes across compilers, PCH, and platform detection, making the cross‑platform build system more robust and flexible.
Apple SiliconCMakeVersion 3.19.2
0 likes · 3 min read

This article walks through building and deploying C++ shared libraries, demonstrates common pitfalls with missing dependencies, explains how to embed runtime library paths using RPATH, and shows modern CMake techniques for reliable linking on Linux systems.
CMakec++linking
0 likes · 11 min read

This guide explains what the MySQL Test framework is, how to set up the required environment on Ubuntu, install dependencies and MySQL source, configure and compile the test suite, and demonstrates creating and running a simple test case with detailed command‑line examples.
BoostCMakeLinux
0 likes · 8 min read

This tutorial walks through setting up a Kunpeng development environment, building a simple Hello World program, creating a cross‑platform CMake project, and compiling, installing, and packaging MySQL 5.7 as RPM/DEB packages for CentOS 7 and Ubuntu 18.04.
C++CMakeDebian
0 likes · 8 min read

Android Studio 2.2 introduces official native development support with CMake and ndk‑build integration, Gradle‑packaged .so libraries, LLDB hybrid debugging, enhanced C/C++ editing, easy linking of existing native code via IDE or build.gradle, new externalNativeBuild and abiFilters settings, and a concise CMake workflow.
Android StudioCMakeGradle
0 likes · 11 min read
