Skip to content

Use ccache if available to speed up builds.#30

Merged
DorianBDev merged 1 commit intoDegateCommunity:developfrom
agatti:cmake_ccache
Feb 21, 2024
Merged

Use ccache if available to speed up builds.#30
DorianBDev merged 1 commit intoDegateCommunity:developfrom
agatti:cmake_ccache

Conversation

@agatti
Copy link
Copy Markdown
Contributor

@agatti agatti commented Feb 20, 2024

Description

Use ccache to speed up builds if it is available. ccache usage is enabled by default, but it can be disabled by passing -DDISABLE_CCACHE=ON to the cmake command line or by setting the variable to ON with cmake-gui.

Affected area(s)

  • Core
  • GUI
  • Tests

Changes type

  • Bug fix
  • Migration
  • New feature
  • Feature rework

Proposed changes

  • Look for ccache in the user's PATH variable and use it as the default CMake compiler wrapper if it is found.

ccache usage is enabled by default, but it can be disabled by passing
-DDISABLE_CCACHE=ON to the cmake command line or by setting the variable
to ON with cmake-gui.

Signed-off-by: Alessandro Gatti <a.gatti@frob.it>
@DorianBDev DorianBDev merged commit f7c66c5 into DegateCommunity:develop Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants