Commit Graph

78 Commits (dcf664ee1dfe40ad92642f16df26bb60bcbbd42c)

Author SHA1 Message Date
gabime c55e7f6d14 Updated pkgconfig to version 2 9 months ago
gabime 3c9963a495 Removed tweak options and spdlog_config.h 9 months ago
gabime 21e0810791 commnet 9 months ago
gabime e6cddd1028 Update cmakelists and config.h 9 months ago
gabime 2057f67015 Removed SPDLOG_WCHAR_FILENAMES support 9 months ago
Gabi Melman 63535f140b
V2.x no std format (#3271)
* Removed SPDLOG_USE_STD_FORMAT

* Removed SPDLOG_USE_STD_FORMAT

* clang-format

* Fix windows.yml ci

* Fix ci
9 months ago
Gabi Melman c122eaf749 Gabime/tsan (#3237)
* Fixed race condition in tests

* Support for thread sanitizer
9 months ago
gabime 496c5fd145 Bump fmt to 11.0.2 9 months ago
gabime a145ba62b8 Fixed fmt cmake 1 year ago
gabime c923915805 DOWNLOAD_EXTRACT_TIMESTAMP FALSE when fetching fmt 1 year ago
gabime 276788a60e Update comment 1 year ago
gabime e9938a8839 Fetch fmt 10.2.1.tar.gz and check sha256 1 year ago
gabime 83d274eb55 Fix spdlogConfig.cmake.in 2 years ago
gabime 26b6461b24 Fixed pkgconfig 2 years ago
gabime e6e2ffbf51 Fixed pkg-config 2 years ago
gabime 32d83ee246 Fix text in cpack 2 years ago
gabime 3834b911cd Fixed spdlogConfig.cmake.in fmt dep 2 years ago
gabime aa5d9aff6c Bump fmt to 10.2.1 2 years ago
gabime 1ce7f5e499 Update spdlog_config.h template 2 years ago
gabime 24fe442d03 Use relative includes and create spdlog_config.h 2 years ago
Gabi Melman 70f397f75d Cmake use FOLDER third-party for third party libs 2 years ago
Gabi Melman f4204e05bd Clean cmake 2 years ago
Gabi Melman 90c5055b77 place dlls in the same directory as the executables on msvc 2 years ago
gabime 8a0f87406b Updated cmake messages 2 years ago
gabime 3fe640e270 Remove static lib enforement of fmt 2 years ago
Gabi Melman ea66477ac0 Copy dlls to the executable folder for msvc 2 years ago
gabime c6206a3191 Always build static fmtlib version and fix fpic 2 years ago
gabime 15ee3f7999 Updated spdlogConfig.cmake 2 years ago
gabime d03d514bad Use fmt git hash and disable FMT_OS 2 years ago
Gabi Melman f5c927b46e
Delete cmake/pch.h.in 2 years ago
gabime a0e631802c Replaced include <spdlog/..> with include "spdlog/.." 2 years ago
Alexander Shpilkin 876880fb3f
Reflect CMAKE_INSTALL_INCLUDEDIR in pkg-config 3 years ago
Alexander Shpilkin afb69071d5
Allow absolute CMAKE_INSTALL_LIBDIR 3 years ago
Adam Calhoon 69cac816aa When built with SPDLOG_FMT_EXTERNAL_HO consumers of the spdlog targets depend on fmt
The cmake/spdlogConfig.cmake.in file properly takes into account the fmt
package dependency when building with SPDLOG_FMT_EXTERNAL:BOOL=ON but
not when built with SPDLOG_FMT_EXTERNAL_HO:BOOL=ON.

Prior to these changes SPDLOG_FMT_EXTERNAL_HO:BOOL=ON results in
exported targets with INTERFACE_LINK_LIBRARIES that contain
fmt::fmt-header-only.

As such, the installed spdlogConfig.cmake file should attempt to find
that dependency for the consumer.
4 years ago
Dave Rigby 87095a9f1f Ensure exported package is relocatable
As per CMake's Importing and Exporting Guide[1],
configure_package_config_file() should be used for configuring the
package configuration file, not the regular configure_file() function.

This ensures that a spdlog package built on one system (with a given
directory tree) can be imported from a different system -
e.g. creating a pre-compiled spdlog package for use on different
systems.

[1]: https://cmake.org/cmake/help/git-stage/guide/importing-exporting/index.html#id8
4 years ago
gabime e7e8b75a4c clang-format 4 years ago
gabime 3315bad009 Treat wall warnings as errors if SPDLOG_BUILD_WARNINGS is ON 4 years ago
gabime 0613dbc4a2 Revert pr #1860 5 years ago
Christof Kaufmann 365e470a32 Add CPack debian package settings 5 years ago
Konstantin Podsvirov fe97a03033 Fix shared library building failure on Windows with non MSVC
For example, now we can built shared library on Window with MinGW.

This changes improve features added in #1467.
5 years ago
gabime 75c15e8028 Formatted cmake 5 years ago
gabime 22655d7554 Formatted cmake using cmake-format 5 years ago
gabime ff0e430e46 Formatted cmake using cmake-format 5 years ago
Bruce Mitchener 937fe7e909 cmake: Fix tabs, whitespace at EOL. 5 years ago
Bruce Mitchener 559984b2fe Fix typos. 5 years ago
gabime 6440733002 Fixed cmake 5 years ago
gabime 02802af97f Renamed SPDLOG_ENABLE_WARNINGS to SPDLOG_BUILD_WARNINGS 5 years ago
FIlip Demski 132ec0a5fc Added an option to disable compiler warnings 5 years ago
Trond H Emaus 3e4df86ac0 create MSVC_OPTIONS list only if compiler is msvc 5 years ago
Trond H Emaus 7054cf7a35 replace MSVC_OPTIONS variable as list 5 years ago