obs-StreamFX/cmake
Michael Fabian 'Xaymar' Dirks 1482cb1d11 cmake: Add clang-format support
This does not rely on the "integrated" clang-format, but instead uses a custom target to achieve the goal. Supports file filtering (to ensure that clang-format only affects supported files), automatic dependency by the project (always run before build), multiple targets and a global target.

Options are:
- TARGETS <target> ...: Targets to add clang-format support to.
- DEPENDENCY: Add a dependency to the given targets so that clang-format runs before building.
- REGEX: Filter out files of the given targets, defaults to '\.(h|hpp|c|cpp)'.
- GLOBAL: Add a global CLANG_FORMAT target.
2019-12-21 17:05:53 +01:00
..
ClangToolkit.cmake cmake: Add clang-format support 2019-12-21 17:05:53 +01:00
DownloadProject.CMakeLists.cmake.in cmake: Many fixes and improvements 2018-04-24 12:31:43 +02:00
DownloadProject.cmake cmake: Many fixes and improvements 2018-04-24 12:31:43 +02:00
installer.iss.in cmake: Add commit hash to installer file name 2019-10-13 05:43:45 +02:00
module.cpp.in project: Fix even more warnings 2019-03-01 12:00:30 +01:00
util.cmake cmake: Massive update ported from obs-amd-encoder 2018-09-26 01:17:08 +02:00
version.hpp.in cmake: Further improve the version template 2019-10-13 07:26:13 +02:00
version.rc.in cmake: Massive update ported from obs-amd-encoder 2018-09-26 01:17:08 +02:00