Skip to content

Instantly share code, notes, and snippets.

@talentestors
Created December 6, 2024 08:10
Show Gist options
  • Select an option

  • Save talentestors/f7dedb45721b63db257b7dbd3447ff10 to your computer and use it in GitHub Desktop.

Select an option

Save talentestors/f7dedb45721b63db257b7dbd3447ff10 to your computer and use it in GitHub Desktop.
For CMakeLists
# Configure ccache if available
find_program(CCACHE_FOUND ccache)
if (CCACHE_FOUND)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
endif (CCACHE_FOUND)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment