mirror of
https://github.com/Tencent/rapidjson.git
synced 2025-03-09 11:09:32 +01:00
Merge pull request #269 from thebusytypist/CleanInSourceBuildInstall
Exclude intermediate files from install of in-source build. (Issue #259)
This commit is contained in:
commit
1906bf1cc2
@ -86,7 +86,12 @@ install(DIRECTORY include/rapidjson
|
|||||||
|
|
||||||
install(DIRECTORY example/
|
install(DIRECTORY example/
|
||||||
DESTINATION "${DOC_INSTALL_DIR}/examples"
|
DESTINATION "${DOC_INSTALL_DIR}/examples"
|
||||||
COMPONENT examples)
|
COMPONENT examples
|
||||||
|
# Following patterns are for excluding the intermediate/object files
|
||||||
|
# from an install of in-source CMake build.
|
||||||
|
PATTERN "CMakeFiles" EXCLUDE
|
||||||
|
PATTERN "Makefile" EXCLUDE
|
||||||
|
PATTERN "cmake_install.cmake" EXCLUDE)
|
||||||
|
|
||||||
# Provide config and version files to be used by other applications
|
# Provide config and version files to be used by other applications
|
||||||
# ===============================
|
# ===============================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user