summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/GenerateExportHeader/reference
Commit message (Collapse)AuthorAgeFilesLines
* GenerateExportHeader: Fix Clang support on WindowsCorentin Damman2023-02-236-4/+88
| | | | | | | | | | When using Clang with Visual Studio, the GenerateExportHeader function generates the DEPRECATED definition "__attribute__ ((__deprecated__))", because Clang can compile such instruction. However, if a user wants to compile the library with this generated header with MSVC, the declaration is not valid. We suggest to always use the DEPRECATED definition "__declspec(deprecated)" on Windows, which is valid for both Clang and MSVC.
* clang-format.bash: Use generic clang-format attributeBrad King2023-01-181-1/+1
| | | | | | | Specify the clang-format version in the attribute value instead of its name. Issue: #24315
* clang-format.bash: update to clang-format-6.0Brad King2018-06-011-1/+1
| | | | | | | | | | | | 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.
* GenerateExportHeader: add release notes, tests for include guard changesKyle Edwards2018-01-2314-14/+14
|
* clang-format.bash: Use Git attributes to mark files for formattingBrad King2017-02-221-0/+2
|
* Tests: Port GenerateExportHeader test to RunCMake infrastructureBrad King2016-09-0514-0/+588
This will allow build failure cases to be added later.