Просмотр исходного кода

add note on ccache usage to manual

master
Sascha Kratky 12 лет назад
Родитель
Сommit
c1f6960db8
1 измененных файлов: 9 добавлений и 0 удалений
  1. +9
    -0
      MANUAL.md

+ 9
- 0
MANUAL.md Просмотреть файл

@@ -535,6 +535,15 @@ enabled in the following way upon configuring the project:
$ export CXX="/usr/local/bin/ccache /usr/bin/g++"
$ 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

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


Загрузка…
Отмена
Сохранить