Commit Graph

45 Commits (dba5d7d2146a0cceb5b1357524aad9407c466e67)

Author SHA1 Message Date
Gabi Melman 63535f140b
V2.x no std format (#3271)
* Removed SPDLOG_USE_STD_FORMAT

* Removed SPDLOG_USE_STD_FORMAT

* clang-format

* Fix windows.yml ci

* Fix ci
9 months ago
Gabi Melman 90c5055b77 place dlls in the same directory as the executables on msvc 2 years ago
Gabi Melman ea66477ac0 Copy dlls to the executable folder for msvc 2 years ago
gabime 57868277db clang format 2 years ago
Gabi Melman 9b3a4e28c5 Copy spdlog dll to the executable folder for example, tests and bench 2 years ago
gabime 6d520df916 Removed header only options 2 years ago
albert-github 81ce5fcdb7
Remove obsolete part from cmake configuration files (#2871)
Updating minimum CMake version to 3.11
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
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
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
Gabi Melman 7906592230
Fix #1499 5 years ago
Michael R. Crusoe 8d06df9775
Enable building & running the example against an installed copy of spdlog 6 years ago
gabime 9b7812a0f2 auto create log dir 6 years ago
gabime bb0f3839c1 Updated CMake options and defaults 6 years ago
gabime cf64f2baca Fixed CMake address sanitizer 6 years ago
gabime 68a0193d95 CMake refactoring to functions 6 years ago
gabime 76fc166e11 CMakeLists.txt minor improvments 6 years ago
gabime fc53e3339f CMakeLists.txt minor improvments 6 years ago
gabime 30bd80bd85 CMake improvements 6 years ago
Gabi Melman 576fec4c36
Update CMakeLists.txt 6 years ago
Gabi Melman 48acafd10d
Update CMakeLists.txt 6 years ago
gabime 2cd53c6ff1 Updated cmake example 6 years ago
gabime 18ccd55725 Removed multisink and test in example 6 years ago
gabime 87eb569929 More updates to CMake (version support , cmake.in) 6 years ago
David Zemon 6fe899af10 Set Threads::Threads dependency on spdlog libs - don't make user do it 6 years ago
David Zemon 107fe0a142 Ensure header_only library works by adding another example exe 6 years ago
David Zemon 55e7844ca0 Remove the namespaced
Namespaces are good for avoiding collisions, but since the
non-namespaced targets still exist, it does no good to add the
namespaced targets on top.
6 years ago
David Zemon 8dd85285e7 Allow user to choose between static or shared library 6 years ago
gabime 872ea6bf09 Deleted redundant Make files and solutions 6 years ago
Tobias Ulvgard f01da91abf Add dependency to Android's log target in CMake 7 years ago
Daniel Chabrowski fb37585bc1 Little cmake and tests refactor
Change from spdlog_ex to const spdlog_ex& got rid of the GCC8 warning.
7 years ago
gabime da30e2ef18 Improved CMakeLists and added bench 7 years ago
Daniel Chabrowski 7e32ccbd8f Modify travis-ci, fix issues
Added:
* Release/Debug job for gcc 7 and clang 3.5
* Debug asan gcc 7 job
* Debug tsan gcc 7 job
* Disabled extensions
* Added a spdlog::spdlog alias for tests

Removed:
* Valgrind workaround, the current version is 3.10.1
* install_libcxx
* Makefiles

Fixed:
* examples build
* multisink build

Workarounds:
* gcc7 with tsan and asan needs gold linker, otherwise build
  fails becase of unrecognized option '--push-state'
7 years ago
Daniel Chabrowski 5d08bd1709 Bump example's cmake version to 3.1
CMake 3.1 is used in main CMakeLists file, no reason not to use it in example.
Threads::Threads is introduced in cmake 3.1.
8 years ago
Daniel Chabrowski 646a140ed4 Specify CXX language explicitly in CMake
Marking project as CXX will disable detecting C compiler and other checks.
Removed 'INCLUDES DESTINATION' as it made the include path appear doubled.
8 years ago
davide b67076fc85 added level_t to sink. Improves the flexibility of loggers with multiple sinks 9 years ago
gabime 7885aa478c no streams 9 years ago
Kevin M. Godby 1c31b42e1a Use CMake Threads package instead of manually specifying -pthread. 9 years ago
Gabi Melman 6d5bce46f8 Revert "CMake script improvements" 9 years ago
Kevin M. Godby 1b444345ab Cleaned up cmake file for examples.
It's no longer a standalone cmake file because cmake was crashing when
reading it as part of the subproject.
9 years ago
gabime c900b25dfd fixed gcc build 10 years ago
Ruslan Baratov c19d9759d5 Add CMake build 10 years ago