Skip to content

Commit

Permalink
Update expludes
Browse files Browse the repository at this point in the history
  • Loading branch information
alxvth committed Sep 24, 2024
1 parent 18d7973 commit 726122b
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ExampleDependencies/cmake/install_dependencies.cmake.in
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
install(CODE [[

if(WIN32)
set(PRE_EXCLUDE ".*[\\/]qt.*" ".*[\\/]api-ms.*" ".*[\\/]ext-ms.*" ".*[\\/]hvsi.*" ".*[\\/]pdmutilities.*" ".*[\\/]wpaxholder.*" ".*[\\/]dxgi.*" ".*[\\/]uxtheme.*" ".*[\\/]d3d11.*" ".*[\\/]winmm.*" ".*[\\/]wldp.*")
set(POST_EXCLUDE ".*[\\/]system32[\\/].*\\.dll")
set(PRE_EXCLUDE "api-ms.*" "ext-ms.*" "hvsi.*" "pdmutilities.*" "wpaxholder.*" "dxgi.*" "^uxtheme.*" "d3d11.*" "winmm.*" "wldp.*")
set(POST_EXCLUDE ".*[\\/]system32[\\/].*\\.dll" ".*[\\/]MV_Public.dll" ".*[\\/]PointData.dll" ".*[\\/]ClusterData.dll" ".*[\\/]ColorData.dll" ".*[\\/]ImageData.dll" ".*[\\/]TextData.dll")
elseif(APPLE)
set(PRE_EXCLUDE "/usr/lib" "/System/")
set(POST_EXCLUDE "")
set(PRE_EXCLUDE "libPointData.dylib" "libMV_Public.dylib" "libClusterData.dylib" "libColorData.dylib" "libImageData.dylib" "libTextData.dylib")
set(POST_EXCLUDE "macos/lib")
else()
set(PRE_EXCLUDE ".*/ld-linux-.*" ".*/linux-vdso.*" ".*/libm\\..*" ".*/libc\\..*" ".*/libpthread\\..*" ".*/libdl\\..*")
set(POST_EXCLUDE "")
set(PRE_EXCLUDE "libMV_Public.so" "libPointData.so" "libClusterData.so" "libColorData.so" "libImageData.so" "libTextData.so")
set(POST_EXCLUDE "x86_64-linux-gnu")
endif()

message(STATUS "PRE_EXCLUDE: ${PRE_EXCLUDE}")
Expand All @@ -30,8 +30,8 @@ install(CODE [[
UNRESOLVED_DEPENDENCIES_VAR UNRESOLVED_DEPS
CONFLICTING_DEPENDENCIES_PREFIX CONFLICTING_DEPS
DIRECTORIES @DEPENDENCIES_FOLDERS@
PRE_EXCLUDE_REGEXES "${PRE_EXCLUDE}"
POST_EXCLUDE_REGEXES "${POST_EXCLUDE}"
PRE_EXCLUDE_REGEXES ${PRE_EXCLUDE}
POST_EXCLUDE_REGEXES ${POST_EXCLUDE}
)

foreach(FILE ${RESOLVED_DEPS})
Expand Down

0 comments on commit 726122b

Please sign in to comment.