Commit 1906bf1c authored by Milo Yip's avatar Milo Yip

Merge pull request #269 from thebusytypist/CleanInSourceBuildInstall

Exclude intermediate files from install of in-source build. (Issue #259)
parents 89655979 58cd253f
......@@ -86,7 +86,12 @@ install(DIRECTORY include/rapidjson
install(DIRECTORY example/
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
# ===============================
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment