Quellcode durchsuchen

add note on ccache usage to manual

master
Sascha Kratky vor 12 Jahren
Ursprung
Commit
c1f6960db8
1 geänderte Dateien mit 9 neuen und 0 gelöschten Zeilen
  1. +9
    -0
      MANUAL.md

+ 9
- 0
MANUAL.md Datei anzeigen

@@ -535,6 +535,15 @@ enabled in the following way upon configuring the project:
$ export CXX="/usr/local/bin/ccache /usr/bin/g++" $ export CXX="/usr/local/bin/ccache /usr/bin/g++"
$ cmake .. $ cmake ..


Note that with ccache in order for precompiled headers to work properly, it is necessary to set
the environment variable `CCACHE_SLOPPINESS` to `time_macros`. Otherwise the build process may
abort with the following error message:

fatal error: file 'example_CXX_prefix.hxx' has been modified since the precompiled header
'example_CXX_prefix.hxx.gch' was built

Also see the [ccache manual][ccch_pch].

### applying cotire to object library targets ### applying cotire to object library targets


CMake 2.8.8 introduced a new type of library target called [object library][objlib]. An object CMake 2.8.8 introduced a new type of library target called [object library][objlib]. An object


Laden…
Abbrechen
Speichern