【发布时间】:2014-07-28 08:45:13
【问题描述】:
我正在从源代码配置一个 CMake 项目并使用 make 构建和安装它,即,
$ ls
./build/ ./source/
$ cd build/
$ cmake ../source/
[...]
$ make
[...]
$ make install
[...]
我现在注意到该项目配置错误,因为它包含许多同名的文件,这些文件在安装目录中被覆盖,例如,/usr/local/include/mystring.h 被make install 多次写入。
是否有系统的方法来检测同一项目中的文件是否被覆盖?
【问题讨论】:
标签: installation makefile cmake automake