瀏覽代碼

add note on ccache usage to manual

master
Sascha Kratky 10 年之前
父節點
當前提交
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


Loading…
取消
儲存