Commit Graph

32 Commits (26ca1fb9f325a4f4240ba0da447d88a5abbda1f7)

Author SHA1 Message Date
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