Skip to content

Commit

Permalink
Merge pull request #3 from Zegeri/clean
Browse files Browse the repository at this point in the history
Precompile stdafx/pch headers for faster compilation and fix a mistake
  • Loading branch information
eagleivg committed Sep 18, 2018
2 parents 0fe4d3e + 4c0a5ba commit d5da513
Show file tree
Hide file tree
Showing 18 changed files with 4,242 additions and 14 deletions.
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,13 @@ project(OpenXRay)
include(${PROJECT_SOURCE_DIR}/cmake/utils.cmake)

set(CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
include(cotire)

find_program(CCACHE_FOUND ccache)
if(CCACHE_FOUND)
set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE ccache)
set_property(GLOBAL PROPERTY RULE_LAUNCH_LINK ccache)
set(ENV{CCACHE_SLOPPINESS} pch_defines,time_macros)
endif(CCACHE_FOUND)

if(CMAKE_CXX_COMPILER_ID MATCHES "GNU")
Expand Down
Loading

0 comments on commit d5da513

Please sign in to comment.