Commit Graph

157 Commits

Author SHA1 Message Date
Montellese
3e8be645d2 Set minimum version of fmt to 5.3.0
The used fmt::fmt target has been introduced with fmt 5.0.0.
2020-04-20 19:59:50 +02:00
gabime
854abdf5e6 Added cmake option SPDLOG_BUILD_ALL 2020-04-12 02:43:42 +03:00
Gabi Melman
1f7f1c1ffb
Update CMakeLists.txt 2020-04-10 16:39:59 +03:00
gabime
6440733002 Fixed cmake 2020-04-10 15:51:34 +03:00
gabime
02802af97f Renamed SPDLOG_ENABLE_WARNINGS to SPDLOG_BUILD_WARNINGS 2020-04-10 15:38:33 +03:00
gabime
9ba7fc94a5 Disable building tests by default in cmake 2020-04-10 15:35:41 +03:00
Gabi Melman
7d2337c6eb
Fix #1504 - Extra warnings OFF by default 2020-04-03 20:37:05 +03:00
FIlip Demski
132ec0a5fc Added an option to disable compiler warnings 2020-04-03 10:09:29 +02:00
gabime
c2b47430fb Enabled warning on examples only if built as part of spdlog 2020-04-01 00:23:04 +03:00
Olivier LDff
21d41b8e81 Support for precompiled header for static & dynamic spdlog compilation.
Compilation is shorten by 2 on windows with msvc. Some improvement for gcc and appleclang. Add SPDLOG_ENABLE_PCH option to CMake that is defaulted to ON. This will enable precompiled header by default if supported. It can be disable if user have a conflict of any kind. Or to check that project is still compiling with CMake version that do not support precompiled header.
2020-03-21 15:36:14 +01:00
gabime
7efdcc26fe CMakeLists.txt: use same policy as fmt 2020-03-15 18:41:34 +02:00
Gabi Melman
713feca582
Update CMakeLists.txt 2020-03-12 14:46:49 +02:00
Gabi Melman
26c20ed91d
Update CMakeLists.txt 2020-03-12 14:46:01 +02:00
Gabi Melman
e399249f31
Update CMakeLists.txt 2020-03-12 14:45:01 +02:00
Gabi Melman
b4a1b4b59a Updated verion.rc and CMakeLists.txt for dll build 2020-03-12 14:35:30 +02:00
Gabi Melman
e88bee49a6 Added version info to dll build 2020-03-12 14:29:23 +02:00
Martin Vejdarski
5b3a18319e fix SPDLOG_BUILD_SHARED cmake option 2020-03-11 03:05:44 +07:00
Martin Vejdarski
3b73278348 fix shared lib issues with bundled fmt 2020-03-11 00:39:42 +07:00
Martin Vejdarski
0ca2cb625e Add shared library support for Windows 2020-03-10 03:14:36 +07:00
gabime
c10be7eaec merge with v1.x 2020-02-26 18:13:13 +02:00
gabime
ffe272c165 Added SDPLOG_TIDY option to CMakeLists.txt instead of clang_tidy.sh 2020-02-25 18:49:28 +02:00
Dmytro Milinevskyi
af75985ec6 workaround for Unknown extension ".c" for file issue
http://www.grokit.ca/cnt/CMakeProblemsSolutions/
2020-02-16 19:57:49 +01:00
Vitaly Lipatov
1b4621962f CMakeLists.txt: put GNUInstallDirs after set project language 2020-01-30 14:51:42 +03:00
gabime
5bf99dfd61 Renamed loaders.cpp to cfg.cpp 2019-12-22 22:51:52 +02:00
gabime
1f8e9ad0fc renamed cfg namespace to loaders 2019-12-21 19:45:14 +02:00
gabime
f18e1fccfd cfg.cpp 2019-12-21 17:49:34 +02:00
gabime
ebaa16f403 CMakeLists.txt allow overriding the cpp standard to higher than 11 2019-12-12 23:52:22 +02:00
gabime
c44cf5a720 Removed extra space 2019-12-10 02:42:28 +02:00
gabime
98ca01bf2d Fix issue #1347 2019-12-10 02:40:06 +02:00
gabime
2698f54a9c Fix #1325. Added SPDLOG_FMT_EXTERNAL_HO option 2019-12-01 02:19:34 +02:00
gabime
3f30000088 comment 2019-11-04 17:51:57 +02:00
gabime
e6ce39f76e comment 2019-11-04 17:46:59 +02:00
gabime
10116b7717 Removed SPDLOG_NO_DATETIME option 2019-11-04 17:43:30 +02:00
gabime
18edb8bd63 Added tweakme options to CMakeLists.txt 2019-11-04 17:19:18 +02:00
gabime
4858d7e454 Fix #1274 2019-10-20 10:27:17 +03:00
gabime
fbb3f41dff Fix #1273 2019-10-20 10:22:44 +03:00
Florian Pigorsch
4aad51a352 Fix some spelling errors.
casese -> cases (1)
chache -> cache (1)
cirucal -> circular (1)
dependecy -> dependency (1)
detrmine -> determine (2)
eavluate -> evaluate (1)
exertnal -> external (1)
ony -> only (1)
registation -> registration (3)
registring -> registering (2)
regsistration -> registration (3)
seperate -> separate (2)
wit -> with (1)
withe -> with (1)
2019-10-19 09:42:38 +02:00
gabime
1549ff12f1 Replace STRING(PREPEND ..) in CMakeLists.txt to support older CMake versions 2019-10-06 13:13:26 +03:00
gabime
cf2bf488a2 CmakeLists.txt: Fixed package config generation 2019-10-04 21:49:20 +03:00
Matthias Schoepfer
4021e5eea9 CMakeLists.txt: removed spdlog subdir from library install
The library gets installed into ${CMAKE_INSTALL_LIBDIR}/spdlog, which
is for unix / linux a rather strange place, hence, put it where the linker
is more likely to find it.

Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
2019-10-01 17:14:01 +02:00
gabime
1add9c9a02 Added SPDLOG_WCHAR_FILENAMES options to CMake 2019-09-28 11:19:56 +03:00
Gabi Melman
4da95066a0
Merge pull request #1241 from orbea/fmt
cmake: Only install fmt headers when SPDLOG_FMT_EXTERNAL is not defined.
2019-09-23 10:25:48 +03:00
orbea
920dd078f3 cmake: Only install fmt headers when SPDLOG_FMT_EXTERNAL is not defined. 2019-09-22 23:19:11 -07:00
orbea
588910129c cmake: Add a new spdlog.pc pkgconfig file.
Fixes https://github.com/gabime/spdlog/issues/1237.
2019-09-22 19:04:29 -07:00
gabime
c1c23d1e7b Revert pull #1228 2019-09-18 16:16:44 +03:00
gabime
e52672c263 Fixed CMakeLists.txt 2019-09-18 15:08:15 +03:00
Christian
c87882e82f added version check 2019-09-18 09:20:01 -02:30
Christian
bd4301b2c1 added arch_independent option 2019-09-17 14:45:59 -02:30
gabime
45a18a61c6 CmakeLists.txt: Added version-number and debug suffixes + SPDLOG_BUILD_SHARED property 2019-09-08 00:42:23 +03:00
gabime
dae4f9fef6 split spdlog.cpp to multiple .cpp files 2019-09-05 14:37:25 +03:00