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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user