Home / Forums / Modern CMake Architecture for Large Cross-Platform C++ Projects

UnreliableCode Community

Developer Research, Reverse Engineering & Coding Community

Tutorial

Modern CMake Architecture for Large Cross-Platform C++ Projects

KronoDev
C++ / Game Modder
MEMBER
Rep: 195
Join Date: Jan 2023
Posts: 32
Thanks: 48
3y ago · May 20, 2023 6:20 PM
#1
Using FetchContent to pull dependencies (Dear ImGui, nlohmann/json, spdlog, glm) automatically at configure time.
KronoDev - Keep coding, keep learning
The following users thanked KronoDev for this post:
PEHeader
PE Format & Linker Tech
VIP
Rep: 350
Join Date: Jun 2023
Posts: 35
Thanks: 95
3y ago · May 20, 2023 9:35 PM
#2
Target-based CMake (target_include_directories, target_link_libraries with PUBLIC/PRIVATE) eliminates global variable pollution.
PEHeader | IMAGE_NT_HEADERS & Section Parsing
SecurityAudit
AppSec & Code Auditor
MEMBER
Rep: 135
Join Date: Jan 2025
Posts: 28
Thanks: 29
3y ago · May 23, 2023 2:35 AM
#3
Configuring C++20 standard enforcement and compile warnings (-Wall -Wextra -Werror) as standard interface targets.
SecurityAudit | Secure C++ Architecture & Boundary Auditing