Commit Graph

240 Commits (4619e18a166d4a19fd83c974fecde816e6700bc9)

Author SHA1 Message Date
Gabi Melman 7e022c4300
Feature 3379 (#3397)
* Fix #3379

* clang format
4 months ago
Hinageshi 548b264254
Fix warning C4530 (#3393)
* Fix warning C4530

* Rename FMT_EXCEPTIONS to FMT_USE_EXCEPTIONS
4 months ago
gabime 96a7d2a1d4 Format CMakeLists.txt 8 months ago
Gabi Melman d71555306a
Added SPDLOG_FWRITE_UNLOCKED option to CMakeLists.txt (#3318)
* Added SPDLOG_FWRITE_UNLOCKED option to CMakeLists.txt

* Update CMakeLists.txt
8 months ago
Gabi Melman 1e6250e183
Gabime/fwrite unlocked (#3276)
* Use locking fwrite_unlocked if possible

* Added compile definitions to header_only
9 months ago
Gabi Melman 43dcb3982d
Update CMakeLists.txt comment 9 months ago
Gabi Melman 0efef2af24
Update CMakeLists.txt comment 9 months ago
Gabi Melman 018d8aa266
Update CMakeLists.txt 9 months ago
Gabi Melman 35b0417fbe
Update CMakeLists.txt comment 9 months ago
Gabi Melman 94526fa8e8
Update CMakeLists.txt comment 9 months ago
Gabi Melman 633003f40a
Update CMakeLists.txt comment 9 months ago
miyanyan 9edab1b5a1
pass /utf-8 only when compiler is MSVC (#3260) 9 months ago
Gabi Melman ebfa906952 CMake option to Enable/disable msvc /utf-8 flag (on by default) 10 months ago
Gabi Melman d343d413c2 CMake option to Enable/disable msvc /utf-8 flag (on by default) 10 months ago
Gabi Melman a5cfbf369d Revert "Better support for FMT_UNICODE in cmake"
This reverts commit d373093734.
10 months ago
Gabi Melman d373093734 Better support for FMT_UNICODE in cmake 10 months ago
gabime 7a950e028c add /utf-8 flag for msvc 10 months ago
Gabi Melman 9fe79692eb
Gabime/tsan (#3237)
* Fixed race condition in tests

* Support for thread sanitizer
10 months ago
薛定谔的加菲猫 bdd1dff378
Update CMakeLists.txt, Fix spelling errors (#3193) 11 months ago
zjyhjqs 5ebfc92730
fix: set `/Zc:__cplusplus` and `/MP` to MSVC only (#3139)
1. macro `__cplusplus` is enabled by clang-cl
2. `/MP` is not supported by clang-cl (warning `-Wunused-command-line-argument` will be generated)
1 year ago
Dominik Grabiec c3aed4b683
Add wide character formatting and output support to wincolor_sink. (#3092)
Fixes printing of unicode characters to the windows console such as microsecond suffix for std::chrono types.
1 year ago
gabime e3f5a4fe66 Update cmake to define FMT_LIB_EXPORT when building shared lib 1 year ago
Gabi Melman a2b4262090
Update CMakeLists.txt to fix #3029 1 year ago
spaceman d387fdf96c
support MINGW (#3022)
Under Windows 10, compiling with MINGW64 will report an error similar to https://github.com/gabime/spdlog/issues/1581
2 years ago
Jeff 7cb90d1ab2
Fix MSVC compile flag for no exceptions (#2974) 2 years ago
gabime a98d3ab0c7 clang format 2 years ago
gabime 7d0531b076 Removed policy_max from cmake_minimum_required(..) 2 years ago
albert-github 81ce5fcdb7
Remove obsolete part from cmake configuration files (#2871)
Updating minimum CMake version to 3.11
2 years ago
Robert Maynard 2312489bdc
Provide spdlog_header_only in build directory export (#2846)
Fixes #2678
2 years ago
moritz-h 371bc8ebe2
Set CMAKE_BUILD_TYPE only for single-config generators (#2839)
Thanks @moritz-h
2 years ago
gabime 64ed6b495c Revert "Fixed FMT_EXPORT to FMT_LIB_EXPORT in CMakeLists.txt"
This reverts commit c3fa8f60e2.
2 years ago
gabime c3fa8f60e2 Fixed FMT_EXPORT to FMT_LIB_EXPORT in CMakeLists.txt 2 years ago
gabime 1f61f5e019 clang format 2 years ago
gabime d1eb68154f If exceptions are disabled, disable them in the bundled fmt as well 2 years ago
Bailey Chittle 040874224b
setting the cmake standard to 20 when using std format (#2680) 2 years ago
Zeus James da14258533
Fix MinGW build issue on example (#2642)
* Fix MinGW build issue on example #2638

* Move the cmake change to example\CMakeLists.txt

* Update CMakeLists.txt on the example
3 years ago
Darby Payne edc51df1bd
Feature/add system includes option (#2575)
* Adding system includes option

* Adding system includes option
3 years ago
Charles Milette 4f80077339
Support compile-time format string checking with std::format (#2544)
* Support compile-time format string checking with std::format

* Fix pre-VS 17.5 compilation

* Fix compilation without wchar_t support

* What am I doing

* Bring back fmt optimization

* Move to_string_view to common.h

* Fix SPDLOG_CONSTEXPR_FUNC emitting duplicate symbol errors when building in C++11

* Also add inline on VS 2013

* Appender doesn't work on wide strings
3 years ago
gabime 3499dfeeb4 Bump bundled fmtlib to version 1.9.1 3 years ago
Puneet Matharu 7768c6271c Export targets to build directory so that it can be found at configure time. 3 years ago
Nigel Stewart 34f88d4382 cmake: SPDLOG_BUILD_PIC opt-in for CMAKE_POSITION_INDEPENDENT_CODE 3 years ago
Nigel Stewart de67ebdda1 cmake: set(CMAKE_POSITION_INDEPENDENT_CODE ON) for Linux static library purposes 3 years ago
Hector PHARAM fb3ddf749d Removed doc "(shared not supported in windows yet)" 3 years ago
cookcocck ca747c7572 Set c++20 when SPDLOG_USE_STD_FORMAT option is turned on 3 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
Jan Engelhardt 41efc971ad build: expand SOVERSION to not give false illusion of compatibility
Fixes #2369
3 years ago
Charless Milette d75de3d3b2 Add SPDLOG_USE_STD_FORMAT to target_compile_definitions 4 years ago
Charless Milette 44a4517e2b Support C++20 std::format as an alternative to fmtlib 4 years ago
Cristian Morales Vega ef540c1243 CMake: Stop explicitly setting CMP0077
The policy_max in cmake_minimum_required() already does that.
4 years ago