Commit Graph

167 Commits (ccffb6ecd63763c16506ec9a9730f0402d97ac1a)

Author SHA1 Message Date
gabime ccffb6ecd6 Fix #1581 5 years ago
gabime 63b5a1a4d8 Fix #1581 5 years ago
gabime cd701761f9 clang-format 5 years ago
Raul Tambre 76cdeb62e3 Don't enable C language in CMake
spdlog doesn't seem to actually require the C language.
Not enabling it results in a significant initial configure time speedup.
5 years ago
Raul Tambre ae9627c64c Raise CMake requirement to 3.13
* Reduces the range of possible version we'd need to test with.
* Enables newer policies reducing possible deprecation warnings from new policies.
* Allows removing some code for compatibility with older versions.
* Coincides with LLVM's bump to requiring CMake 3.13.
5 years ago
Leonid Pospelov cf55e5d4f8 Cleanup options-related lines in CMakeLists.txt 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 ff0e430e46 Formatted cmake using cmake-format 5 years ago
Bruce Mitchener 937fe7e909 cmake: Fix tabs, whitespace at EOL. 5 years ago
Montellese 3e8be645d2 Set minimum version of fmt to 5.3.0
The used fmt::fmt target has been introduced with fmt 5.0.0.
5 years ago
gabime 854abdf5e6 Added cmake option SPDLOG_BUILD_ALL 5 years ago
Gabi Melman 1f7f1c1ffb
Update CMakeLists.txt 5 years ago
gabime 6440733002 Fixed cmake 5 years ago
gabime 02802af97f Renamed SPDLOG_ENABLE_WARNINGS to SPDLOG_BUILD_WARNINGS 5 years ago
gabime 9ba7fc94a5 Disable building tests by default in cmake 5 years ago
Gabi Melman 7d2337c6eb
Fix #1504 - Extra warnings OFF by default 5 years ago
FIlip Demski 132ec0a5fc Added an option to disable compiler warnings 5 years ago
gabime c2b47430fb Enabled warning on examples only if built as part of spdlog 5 years ago
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.
6 years ago
gabime 7efdcc26fe CMakeLists.txt: use same policy as fmt 6 years ago
Gabi Melman 713feca582
Update CMakeLists.txt 6 years ago
Gabi Melman 26c20ed91d
Update CMakeLists.txt 6 years ago
Gabi Melman e399249f31
Update CMakeLists.txt 6 years ago
Gabi Melman b4a1b4b59a Updated verion.rc and CMakeLists.txt for dll build 6 years ago
Gabi Melman e88bee49a6 Added version info to dll build 6 years ago
Martin Vejdarski 5b3a18319e fix SPDLOG_BUILD_SHARED cmake option 6 years ago
Martin Vejdarski 3b73278348 fix shared lib issues with bundled fmt 6 years ago
Martin Vejdarski 0ca2cb625e Add shared library support for Windows 6 years ago
gabime c10be7eaec merge with v1.x 6 years ago
gabime ffe272c165 Added SDPLOG_TIDY option to CMakeLists.txt instead of clang_tidy.sh 6 years ago
Dmytro Milinevskyi af75985ec6 workaround for `Unknown extension ".c" for file` issue
http://www.grokit.ca/cnt/CMakeProblemsSolutions/
6 years ago
Vitaly Lipatov 1b4621962f CMakeLists.txt: put GNUInstallDirs after set project language 6 years ago
gabime 5bf99dfd61 Renamed loaders.cpp to cfg.cpp 6 years ago
gabime 1f8e9ad0fc renamed cfg namespace to loaders 6 years ago
gabime f18e1fccfd cfg.cpp 6 years ago
gabime ebaa16f403 CMakeLists.txt allow overriding the cpp standard to higher than 11 6 years ago
gabime c44cf5a720 Removed extra space 6 years ago
gabime 98ca01bf2d Fix issue #1347 6 years ago
gabime 2698f54a9c Fix #1325. Added SPDLOG_FMT_EXTERNAL_HO option 6 years ago
gabime 3f30000088 comment 6 years ago
gabime e6ce39f76e comment 6 years ago
gabime 10116b7717 Removed SPDLOG_NO_DATETIME option 6 years ago
gabime 18edb8bd63 Added tweakme options to CMakeLists.txt 6 years ago
gabime 4858d7e454 Fix #1274 6 years ago
gabime fbb3f41dff Fix #1273 6 years ago
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)
6 years ago
gabime 1549ff12f1 Replace STRING(PREPEND ..) in CMakeLists.txt to support older CMake versions 6 years ago
gabime cf2bf488a2 CmakeLists.txt: Fixed package config generation 6 years ago
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>
6 years ago