mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-12-01 10:34:23 +01:00
[cmake] Add a .gitignore file to build directory (inspired by Meson) (#5957)
This commit is contained in:
1 file changed
+4
@@ -24,6 +24,10 @@ Before that, remove the files created by this failed run with"
|
||||
rm -rf CMakeCache.txt CMakeFiles")
|
||||
endif ()
|
||||
|
||||
# Add a .gitignore file to build directory (inspired by Meson)
|
||||
if (NOT ("${PROJECT_BINARY_DIR}" STREQUAL "${PROJECT_SOURCE_DIR}") AND NOT (EXISTS "${PROJECT_BINARY_DIR}/.gitignore"))
|
||||
file(WRITE "${PROJECT_BINARY_DIR}/.gitignore" "*")
|
||||
endif ()
|
||||
|
||||
## HarfBuzz build configurations
|
||||
option(HB_HAVE_CAIRO "Enable cairo interop helpers" OFF)
|
||||
|
||||
Reference in new issue
Block a user