Skip to content

Commit

Permalink
cmake added comments
Browse files Browse the repository at this point in the history
  • Loading branch information
silverqx committed Oct 20, 2023
1 parent d6a4dd6 commit 99d5fd3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cmake/CommonModules/TinyHelpers.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -491,15 +491,17 @@ function(tiny_fix_ccache)

# MSYS2 g++ or clang++ work well with the precompiled headers but the msvc doesn't

# Fixes for the MSVC compiler
# Fixes for the MSVC compiler (including the clang-cl with MSVC)
set(shouldFixCcacheMsvc FALSE)
tiny_should_fix_ccache_msvc(shouldFixCcacheMsvc)

if(shouldFixCcacheMsvc)
tiny_fix_ccache_msvc()

# The early return() can be here, but I chose not to add it
endif()

# Fixes for the Clang compiler
# Fixes for the Clang compiler on Linux and MSYS2 (excluding the clang-cl with MSVC)
# Ignore PCH timestamps if the ccache is used (recommended in ccache docs)
set(shouldFixCcacheClang FALSE)
tiny_should_fix_ccache_clang(shouldFixCcacheClang)
Expand Down

0 comments on commit 99d5fd3

Please sign in to comment.