Skip to content
This repository has been archived by the owner on Apr 19, 2023. It is now read-only.

optimize_dependencies by default #42

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ cmake_minimum_required(VERSION 3.16...3.23)
# that tooling and projects use the same version
set(CMAKE_CXX_STANDARD 20)

# Improve build parallelism of non-generated C, CXX
set(CMAKE_OPTIMIZE_DEPENDENCIES ON)

# strongly encouraged to enable this globally to avoid conflicts between
# -Wpedantic being enabled and -std=c++20 and -std=gnu++20 for example
# when compiling with PCH enabled
Expand Down