summaryrefslogtreecommitdiffstats
path: root/.gitattributes
Commit message (Collapse)AuthorAgeFilesLines
* clang-format.bash: update to clang-format-15Brad King2023-01-181-1/+1
| | | | | | | The `.clang-format` configuration needs no changes to make the version 15 format close to what version 6.0 produced before. Issue: #24315
* clang-format.bash: Use generic clang-format attributeBrad King2023-01-181-2/+2
| | | | | | | Specify the clang-format version in the attribute value instead of its name. Issue: #24315
* cmConstStack: Factor out of cmListFileBacktraceBrad King2022-04-021-0/+1
| | | | | | | This presents value semantics for a stack of constant values. Internally it shares ownership to avoid copies. Previously this was implemented by `cmListFileBacktrace` explicitly, but the approach can be re-used for other kinds of stacks.
* codespell: Add configuration fileJosef Angstenberger2021-05-071-0/+1
|
* Add .editorconfig fileDaan De Meyer2020-12-211-0/+1
| | | | | | | A .editorconfig file allows many editors (e.g. Visual Studio Code) to autoconfigure themselves based on its contents. This avoids some formatting issues in PRs because editors will do the right thing by default with a .editorconfig file available in the repo.
* gitattributes: Use LF newlines in '.bash' filesBrad King2019-08-221-0/+1
|
* gitattributes: Do not export any .git paths in git archiveBrad King2019-07-291-1/+1
| | | | | We have paths for `.gitattributes` itself, `.gitignore`, and `.github`. None should be exported in source archives.
* CPack: Replace corrupted background png with originalLucy Phipps2019-01-251-0/+1
| | | | | | | | | | | | The `Modules/CPack.background.png.in` file was originally added by commit f2c0dbd164 (ENH: More work on the packaging. Add Applicaitons, add icons, etc, 2007-02-13, v2.6.0~2217). Then it was removed accidentally by commit 5308afa3f7 (ENH: remove unused file, 2009-03-03, v2.8.0~963) and restored by commit f9dd6a38c5 (ENH: add file back bug use cmake image, 2009-03-04, v2.8.0~958) but with corruption. Restore the original image file and add a Git attribute to prevent newline conversion as we do for other `.png` files.
* clang-format.bash: update to clang-format-6.0Brad King2018-06-011-2/+2
| | | | | | | | | | | | Update `.clang-format` with configuration to make the 6.0 format as close as possible to what 3.8 produced before. Then revise the style: * Indent preprocessor directives (a feature new since 3.8) * Add a newline and indentation before inheritance `:` and `,` Rename the Git attribute identifying the format to include the clang-format version number: `format.clang-format-6.0`. This will aid external infrastructure in knowing what version of the tool to run.
* gitattributes: prefer `eol=crlf` to `-crlf`Ben Boeckel2017-08-231-4/+4
| | | | | | The `crlf` attribute is deprecated in Git. This also changes the given files to be in the index using LF newlines, but they will be checked out with CRLF newlines due to the attribute.
* gitattributes: prefer `eol=lf` to `crlf=input`Ben Boeckel2017-08-231-5/+5
| | | | The `crlf` attribute is deprecated in Git.
* gitattributes: prefer `-text` for binary filesBen Boeckel2017-08-231-2/+3
|
* gitattributes: remove unused attributesBen Boeckel2017-08-231-2/+0
|
* clang-format.bash: Use Git attributes to mark files for formattingBrad King2017-02-221-3/+3
|
* Define a custom Git attribute to mark sources using our C styleBrad King2017-02-221-5/+15
|
* Define a custom Git attribute to mark source files as generatedBrad King2017-02-221-0/+4
|
* Tell Git to use a distinct conflict marker size in `.rst` filesBrad King2016-05-161-0/+2
| | | | | Use a long conflict marker size that is unlikely to be in conflict with a `=======` section header underline.
* Drop Visual Studio 6 generatorBrad King2016-03-091-1/+0
| | | | | | This generator has been deprecated since CMake 3.3. Remove it. Update documentation, modules, and tests to drop content specific to this generator.
* VS: Mark Windows Phone and Store targets as App ContainersGilles Khouzam2014-09-021-0/+2
| | | | | | | | | | | * Add AppContainerApplication to non-UTILITY targets * Generate app manifest and related files if project does not provide them. Place them in a per-target directory to avoid clashes. * Mark WinRT components with WinMDAssembly * Import Windows Phone 8.0 targets in .vcxproj files when necessary, and reference platform.winmd. Inspired-by: Paul Annetts <paul@lightunobscured.com>
* Add CMAKE_GNUtoMS option to convert GNU .dll.a to MS .libBrad King2011-12-051-0/+1
| | | | | | | | | | | | | | | | Teach the Windows-GNU.cmake platform file to look for Visual Studio tools matching the target ABI. Add an extra step to the link command for shared libraries and executables that export symbols and on which a new GNUtoMS property is set (initialized by the CMAKE_GNUtoMS option). Tell the GNU linker to output a module definition (.def) file listing exported symbols in addition to the GNU-format import library (.dll.a). Pass the .def file to the MS "lib" tool to construct a MS-format DLL import library (.lib). Teach the install(TARGETS) command to install the MS import library next to the GNU one. Teach the install(EXPORT) and export() command to set the IMPORTED_IMPLIB property pointing at the import library to use the import library matching the tools in the importing project.
* Add pre-commit|commit-msg|prepare-commit-msg hook placeholdersBrad King2011-10-241-0/+1
| | | | | Add CMake-specific hook placeholders that chain from the main hooks branch after it is installed into the local .git/hooks directory.
* Add whitespace=tab-in-indent attribute for sourcesBrad King2010-08-301-0/+6
| | | | Tell Git 1.7.2 and later to reject indentation with TABs.
* *** empty log message ***Bill Hoffman2000-08-291-0/+14