Commit Graph

251 Commits

Author SHA1 Message Date
gabime
efa89d0880 Add fmt dep to cmake install 2024-01-13 12:53:14 +02:00
gabime
24fe442d03 Use relative includes and create spdlog_config.h 2024-01-12 17:33:23 +02:00
gabime
a3e05332b0 Removed fmt wrapper files 2024-01-12 15:52:32 +02:00
Gabi Melman
ae0eb75402
Update no exception flag in CMakeLists.txt for msvc 2024-01-10 00:13:11 +02:00
Gabi Melman
306ddde049 Fix cmake for msvc 2023-12-24 13:54:17 +02:00
Gabi Melman
90c5055b77 place dlls in the same directory as the executables on msvc 2023-12-24 12:28:02 +02:00
gabime
8a0f87406b Updated cmake messages 2023-12-23 17:16:24 +02:00
gabime
3b93c53e33 If SPDLOG_BUILD_SHARED is set, set BUILD_SHARED_LIBS to ON as well 2023-12-23 16:31:43 +02:00
gabime
ffbdc8f610 remove SPDLOG_BUILD_PIC cmake option 2023-12-23 16:30:48 +02:00
gabime
c6206a3191 Always build static fmtlib version and fix fpic 2023-12-23 14:03:13 +02:00
gabime
d0c30a6a5c Use fmt only if not SPDLOG_USE_STD_FORMAT is ON 2023-12-23 13:18:13 +02:00
gabime
d03d514bad Use fmt git hash and disable FMT_OS 2023-12-22 18:01:05 +02:00
gabime
1161d640a1 Removed bundled fmtlib. Use FetchContent instead 2023-12-22 16:19:05 +02:00
gabime
82a672a4d3 Removed console_globals.h file 2023-10-06 17:17:46 +03:00
gabime
ecb29c4f99 Removed pre compiled header option 2023-10-06 17:12:47 +03:00
Gabi Melman
ef10d4b636
CMakeLists.txt - removed pch support 2023-10-03 01:15:12 +03:00
Gabi Melman
0fd0e13d21
Update CMakeLists.txt - removed pch option 2023-10-02 20:14:20 +03:00
Gabi Melman
69dd70e31a Replace glob sources with explict file list in CMakeLists.txt 2023-10-02 17:40:58 +03:00
Gabi Melman
5309ddb702 Better handle version.rc and source group for vs 2023-10-02 12:45:19 +03:00
gabime
57868277db clang format 2023-10-01 18:01:02 +03:00
Gabi Melman
cc343cd168 CMakeLists.txt: set source groups for visual studio 2023-10-01 16:58:19 +03:00
gabime
2fb5e75950 cmake message 2023-09-30 15:41:38 +03:00
gabime
e28eadcd52 Clang format 2023-09-24 20:43:14 +03:00
gabime
425f137938 glob .cpp in cmakelists 2023-09-24 16:50:49 +03:00
gabime
98dacff8e0 Removed usages of SPDLOG_COMPILED_LIB macro 2023-09-24 13:37:44 +03:00
gabime
cff3e27115 Removed usages of SPDLOG_COMPILED_LIB macro 2023-09-24 13:32:48 +03:00
gabime
6d520df916 Removed header only options 2023-09-24 13:27:26 +03:00
gabime
98415979d2 Validate that c++20 if SPDLOG_USE_FMT_FORMAT=ON 2023-09-22 18:24:45 +03:00
gabime
90e92438c8 clang format 2023-09-22 18:24:45 +03:00
gabime
1faeb5b6fa Minor cleanups 2023-09-22 18:24:45 +03:00
gabime
501e3480ca Require c++17 at mimumum 2023-09-22 18:24:45 +03:00
gabime
5993e78aac Removed SPDLOG_WCHAR_SUPPORT macro 2023-09-22 18:24:45 +03:00
gabime
a38add8456 Removed SPDLOG_NO_TLS and updated cmake 2023-09-22 18:24:45 +03:00
gabime
d94830814f Removed SPDLOG_WCHAR_TO_UTF8_SUPPORT 2023-09-22 18:24:45 +03:00
gabime
11ddcb2e91 Require c++20 standard 2023-09-22 18:24:45 +03:00
gabime
b4004586e0 Fixed FMT_EXPORT to FMT_LIB_EXPORT in CMakeLists.txt 2023-09-22 18:24:45 +03:00
gabime
a98d3ab0c7 clang format 2023-09-09 12:56:47 +03:00
gabime
7d0531b076 Removed policy_max from cmake_minimum_required(..) 2023-09-01 16:40:19 +03:00
albert-github
81ce5fcdb7
Remove obsolete part from cmake configuration files (#2871)
Updating minimum CMake version to 3.11
2023-08-30 23:20:37 +03:00
Robert Maynard
2312489bdc
Provide spdlog_header_only in build directory export (#2846)
Fixes #2678
2023-08-07 23:25:21 +03:00
moritz-h
371bc8ebe2
Set CMAKE_BUILD_TYPE only for single-config generators (#2839)
Thanks @moritz-h
2023-08-02 17:22:20 +03:00
gabime
64ed6b495c Revert "Fixed FMT_EXPORT to FMT_LIB_EXPORT in CMakeLists.txt"
This reverts commit c3fa8f60e2.
2023-07-08 13:44:27 +03:00
gabime
c3fa8f60e2 Fixed FMT_EXPORT to FMT_LIB_EXPORT in CMakeLists.txt 2023-07-02 21:24:35 +03:00
gabime
1f61f5e019 clang format 2023-06-07 13:23:44 +03:00
gabime
d1eb68154f If exceptions are disabled, disable them in the bundled fmt as well 2023-05-28 12:53:13 +03:00
Bailey Chittle
040874224b
setting the cmake standard to 20 when using std format (#2680) 2023-03-21 20:23:14 +02:00
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
2023-02-12 10:34:22 +02:00
Darby Payne
edc51df1bd
Feature/add system includes option (#2575)
* Adding system includes option

* Adding system includes option
2022-12-11 10:58:02 +02:00
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
2022-11-12 23:07:11 +02:00
gabime
3499dfeeb4 Bump bundled fmtlib to version 1.9.1 2022-10-31 13:47:47 +02:00