build: ship clang compiler header within Sourcetrail package on macOS and Linux

* replace path to local compiler headers with packaged ones in include path detection
* added app settings migration to replace local compiler header path with path to packaged headers
This commit is contained in:
Eberhard Graether
2018-06-18 14:08:50 +02:00
parent a1c146d439
commit f11be042a6
20 changed files with 121 additions and 22 deletions
+7
View File
@@ -50,6 +50,7 @@ function(AddSharedToComponent)
DESTINATION Sourcetrail
PATTERN "log/*" EXCLUDE
PATTERN "data/src" EXCLUDE
PATTERN "data/cxx" EXCLUDE
PATTERN "projects" EXCLUDE
PATTERN "data/install" EXCLUDE
PATTERN "ProjectSettings_template.xml" EXCLUDE
@@ -102,6 +103,12 @@ function(AddSharedToComponent)
DESTINATION Sourcetrail/lib
)
INSTALL(DIRECTORY DESTINATION Sourcetrail/data/cxx/include)
INSTALL(DIRECTORY
$ENV{LLVM_DIR}/lib/clang/6.0.0/include/
DESTINATION Sourcetrail/data/cxx/include
)
INSTALL(DIRECTORY ${CMAKE_SOURCE_DIR}/bin/app/user
DESTINATION Sourcetrail
PATTERN "ApplicationSettings.xml" EXCLUDE