We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e91501b commit 4555baeCopy full SHA for 4555bae
cmake/options.cmake
@@ -21,7 +21,4 @@ if(CMAKE_PREFIX_PATH)
21
get_filename_component(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ABSOLUTE)
22
endif()
23
24
-# --- auto-ignore build directory
25
-if(NOT EXISTS ${PROJECT_BINARY_DIR}/.gitignore)
26
- file(WRITE ${PROJECT_BINARY_DIR}/.gitignore "*")
27
-endif()
+file(GENERATE OUTPUT .gitignore CONTENT "*")
0 commit comments