Commit Graph

2895 Commits

Author SHA1 Message Date
Gabi Melman
d1dadc9814
Merge pull request #1283 from bencsikandrei/refactor/cmake-minor-duplication-removal
Minor cmake code duplication improvement
2019-10-25 12:28:10 +03:00
Andrei-Florin BENCSIK
2cc620ef33 Function instead of macro
Be more consistent with the existing code and with the naming
_function -> function
2019-10-25 11:15:07 +03:00
Andrei-Florin BENCSIK
cee705ccd3 Minor cmake code duplication improvement
Create a macro to add tests for both static/header only.

The only differneces between these two are the libraries they link
with and the target names. Created the simple macro:

_spdlog_prepare_test(<target> <spdlog_lib>)

which does the work.

Signed-off-by: Andrei-Florin BENCSIK <andrei.bencsik@gmail.com>
2019-10-24 22:57:47 +03:00
gabime
a8f72424db Merge branch 'Issue-1248' of https://github.com/gabime/spdlog into Issue-1248 2019-10-21 13:43:57 +03:00
gabime
31ed133932 Added dir_name tests 2019-10-21 13:42:25 +03:00
Gabi Melman
d3c6974e99
Update os.h 2019-10-20 19:09:37 +03:00
Gabi Melman
1271081865
Update os-inl.h 2019-10-20 19:08:47 +03:00
Gabi Melman
8a638a95a0
Update os-inl.h 2019-10-20 18:31:04 +03:00
Gabi Melman
d9f726f2a5
Add global namespace qualifiers to global function calls in os-inl.h 2019-10-20 18:25:09 +03:00
Gabi Melman
5f3521b3d4
Update utils.cpp 2019-10-20 17:55:13 +03:00
gabime
9a68bd8cc8 Fixed missing include 2019-10-20 17:48:13 +03:00
gabime
9b7812a0f2 auto create log dir 2019-10-20 17:40:56 +03: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
Gabi Melman
1472048b97
Merge pull request #1275 from flopp/spelling
Fix some spelling errors.
2019-10-19 11:09:11 +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
9a0a0c2d8c clang-format 2019-10-18 16:14:08 +03:00
gabime
fcc809f4f1 Refactored logger 2019-10-18 16:10:57 +03:00
Gabi Melman
f3369677ef
Merge pull request #1270 from jktjkt/fix-clang7-libc++
Fix build failure on clang 7 with libc++
2019-10-18 11:38:56 +03:00
Jan Kundrát
a03f9eb156 Fix build failure on clang 7 with libc++
Unlike the GNU C++ STL, there's no implicit include for <array> in this
one, apparently.
2019-10-18 10:14:44 +02:00
Gabi Melman
aa65dd8905
version 1.4.3 rc 2019-10-11 19:48:33 +03:00
Gabi Melman
856b4f4654
Update README.md 2019-10-09 23:22:45 +03:00
gabime
9369fe8c27 Fix #1262 2019-10-09 21:41:02 +03:00
gabime
1549ff12f1 Replace STRING(PREPEND ..) in CMakeLists.txt to support older CMake versions 2019-10-06 13:13:26 +03:00
gabime
70357ceff2 clang-format 2019-10-06 00:31:38 +03:00
gabime
cfe7cac1c4 version 1.4.2 2019-10-06 00:30:40 +03:00
gabime
fb70eca0a3 CmakeLists.txt: add -pthread to pkg-config 2019-10-04 21:56:17 +03:00
gabime
cf2bf488a2 CmakeLists.txt: Fixed package config generation 2019-10-04 21:49:20 +03:00
Gabi Melman
5c02fc47b9
Merge pull request #1253 from DasRoteSkelett/v1.x
CMakeLists.txt: removed spdlog subdir from library install
2019-10-01 22:45:58 +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
Gabi Melman
5cd0b6272d
Update logger-inl.h 2019-10-01 01:56:02 +03:00
Gabi Melman
bf49bebe7a
Update logger.h 2019-10-01 01:50:18 +03:00
Gabi Melman
1e8299e893
Merge pull request #1252 from bsergean/v1.x
Fix windows compile error where std::max is overriden by a macro (#1251)
2019-09-30 08:34:02 +03:00
Benjamin Sergeant
5381061d97 Fix windows compile error where std::max is overriden by a macro (#1251) 2019-09-29 22:03:47 -07:00
gabime
274558c430 Fix issue #1250 2019-09-28 11:39:06 +03:00
gabime
188afe20f9 Fix issue #1249 2019-09-28 11:20:26 +03:00
gabime
1add9c9a02 Added SPDLOG_WCHAR_FILENAMES options to CMake 2019-09-28 11:19:56 +03:00
Gabi Melman
e7d4b99350
Merge pull request #1246 from tcraigtyler/v1.x
Set additional CPACK variables for RPM generator
2019-09-27 21:58:27 +03:00
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.
2019-09-27 09:40:09 -07:00
Gabi Melman
6696416107
Update README.md 2019-09-25 10:58:30 +03:00
gabime
453be2e08a clang-format 2019-09-23 12:38:19 +03:00
gabime
83497e4dc9 Update test_stdout_api.cpp 2019-09-23 12:11:12 +03:00
gabime
3806a9c320 Added wchar api tests to windows 2019-09-23 12:06:21 +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
Gabi Melman
ab1105524f
Merge pull request #1238 from orbea/pkgconfig
cmake: Add a new spdlog.pc pkgconfig file.
2019-09-23 10:22:36 +03:00
Gabi Melman
d70b743e03
Merge pull request #1240 from Bak-Jin-Hyeong/fix1239
Fix #1239, Remove basic_string_view_t
2019-09-23 10:20:08 +03:00
orbea
920dd078f3 cmake: Only install fmt headers when SPDLOG_FMT_EXTERNAL is not defined. 2019-09-22 23:19:11 -07:00
Bak, Jin Hyeong
f8e780b9dd Fix #1239, Remove basic_string_view_t 2019-09-23 14:48:09 +09: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
e42867f0a8 Merge branch 'v1.x' of https://github.com/gabime/spdlog into v1.x 2019-09-21 18:35:33 +03:00