1ADDITIONAL_CLEAN_FILES 2---------------------- 3 4.. versionadded:: 3.15 5 6A :ref:`;-list <CMake Language Lists>` of files or directories that will be 7removed as a part of the global ``clean`` target. It is useful for 8specifying generated files or directories that are used by multiple targets 9or by CMake itself, or that are generated in ways which cannot be captured as 10outputs or byproducts of custom commands. 11 12If an additional clean file is specific to a single target only, then the 13:prop_tgt:`ADDITIONAL_CLEAN_FILES` target property would usually be a better 14choice than this directory property. 15 16Relative paths are allowed and are interpreted relative to the 17current binary directory. 18 19Contents of ``ADDITIONAL_CLEAN_FILES`` may use 20:manual:`generator expressions <cmake-generator-expressions(7)>`. 21 22This property only works for the :generator:`Ninja` and the Makefile 23generators. It is ignored by other generators. 24