1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-16 00:00:07 +01:00

cmake: CPACK_SOURCE_IGNORE_FILES is a list of regular expressions

This commit is contained in:
Steffen Vogel 2018-05-26 09:17:15 +08:00 committed by Andy Green
parent 0425d962e5
commit 3e25edf1ee

View file

@ -2110,7 +2110,7 @@ if (LWS_WITH_EXPORT_LWSTARGETS)
endif()
# build subdir is not part of sources
set(CPACK_SOURCE_IGNORE_FILES $(CPACK_SOURCE_IGNORE_FILES) ".git" "build" "tgz" "tar.gz")
set(CPACK_SOURCE_IGNORE_FILES $(CPACK_SOURCE_IGNORE_FILES) "/.git/" "/build/" "\\\\.tgz$" "\\\\.tar\\\\.gz$")
# Most people are more used to "make dist" compared to "make package_source"
add_custom_target(dist COMMAND "${CMAKE_MAKE_PROGRAM}" package_source)