Commit Graph

25 Commits (90327eb02902a6858afca19cb8095c12d261db8d)

Author SHA1 Message Date
ClausKlein 90327eb029 Recomment out-of-source build
Prevent to overwrite the project config file .clang-tidy
6 years ago
ClausKlein b0e1afa0d8 Change clang-tidy cmake module
Copy default config file .clang-tidy for later use to binary dir
6 years ago
ClausKlein 239e8c0e32 Changes according to review
We need first clang-tidy for all

If found, we should find run-clang-tidy.py for the check taget
Then we need a compile_commands.json created by cmake or mesonbuild.

And this has to be linkd to the source tree, if the binary tree is
outsite the source tree.

That must be true for ninja generator to generate absolute pathes at
compile_commands.json!
6 years ago
ClausKlein a28ddf1c3a Add run-clang-tidy python script
Bundle this script from llvm repo
6 years ago
ClausKlein e02480c301 Create a check target to run clang-tidy
This help to run clang-tidy while build
Note: this only check example tree and needs
run-clang-tidy python script from llvm distro!
6 years ago
gabime 3a258ee5c9 Fix CMakeList for older versions of CMake 6 years ago
gabime afb949a417 CMake: - Allow non fatal security wanrnings for msvc 2015 and below 6 years ago
gabime fb70eca0a3 CmakeLists.txt: add -pthread to pkg-config 6 years ago
gabime cf2bf488a2 CmakeLists.txt: Fixed package config generation 6 years ago
Craig Tyler 8627721533 Set additional CPACK variables for RPM generator
Sets the following when querying the generated RPM's info:

Group       : System Environment/Libraries
License     : MIT
URL         : https://github.com/gabime/spdlog
Summary     : Fast C++ logging library
Description :
Very fast, header-only/compiled, C++ logging library.
6 years ago
orbea 588910129c cmake: Add a new spdlog.pc pkgconfig file.
Fixes https://github.com/gabime/spdlog/issues/1237.
6 years ago
gabime 45a18a61c6 CmakeLists.txt: Added version-number and debug suffixes + SPDLOG_BUILD_SHARED property 6 years ago
gabime 8afe18f148 Minor improvement CMakeLists to use generators 6 years ago
gabime 8d3d06b7a0 Fixed version extraction in CMake 6 years ago
gabime cf64f2baca Fixed CMake address sanitizer 6 years ago
gabime 68a0193d95 CMake refactoring to functions 6 years ago
gabime 5743adc467 CMake use extract version from version.h 6 years ago
gabime d439f75491 Minor CMake cosmetic fix 6 years ago
gabime c559067f77 CMake refactoring 6 years ago
gabime 87eb569929 More updates to CMake (version support , cmake.in) 6 years ago
Carsten Neumann 084bc72d90 Fix handling of external fmt lib
Using an external fmt lib should cause the spdlog::spdlog target to have
a dependency on fmt lib - so that a consuming project does not need
to call find_package(fmt) and target_link_libraries(... fmt::fmt).

To this end a new cmake option SPDLOG_FMT_EXTERNAL is introduced which
makes spdlog depend on fmt lib and defines the SPDLOG_FMT_EXTERNAL macro
to avoid using the bundled fmt lib. The value of SPDLOG_FMT_EXTERNAL is
also stored in the installed spdlogConfig.cmake and if it is ON
find_dependency() is used to ensure the fmt::fmt target is imported.
7 years ago
Daniel Chabrowski 49d663f6c8 Move tsan/asan flag management to cmake
Add sudo: required to fix asan builds
7 years ago
gabime 7885aa478c no streams 9 years ago
Nick White b7e3a103c3 Generate & Install pkg-config File 10 years ago
Ruslan Baratov c19d9759d5 Add CMake build 10 years ago