Commit Graph

28 Commits

Author SHA1 Message Date
gabime
cf64f2baca Fixed CMake address sanitizer 2019-06-10 18:32:10 +03:00
gabime
68a0193d95 CMake refactoring to functions 2019-06-10 18:09:36 +03:00
gabime
76fc166e11 CMakeLists.txt minor improvments 2019-05-29 01:41:48 +03:00
gabime
fc53e3339f CMakeLists.txt minor improvments 2019-05-29 01:33:20 +03:00
gabime
30bd80bd85 CMake improvements 2019-05-29 00:05:24 +03:00
Gabi Melman
576fec4c36
Update CMakeLists.txt 2019-05-19 17:17:58 +03:00
Gabi Melman
48acafd10d
Update CMakeLists.txt 2019-05-19 17:16:22 +03:00
gabime
2cd53c6ff1 Updated cmake example 2019-05-19 16:34:38 +03:00
gabime
18ccd55725 Removed multisink and test in example 2019-05-19 15:57:22 +03:00
gabime
87eb569929 More updates to CMake (version support , cmake.in) 2019-05-19 15:47:49 +03:00
David Zemon
6fe899af10 Set Threads::Threads dependency on spdlog libs - don't make user do it 2019-05-17 23:28:53 -05:00
David Zemon
107fe0a142 Ensure header_only library works by adding another example exe 2019-05-17 23:27:44 -05:00
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.
2019-05-17 23:27:44 -05:00
David Zemon
8dd85285e7 Allow user to choose between static or shared library 2019-05-17 23:26:06 -05:00
gabime
872ea6bf09 Deleted redundant Make files and solutions 2019-05-13 01:13:58 +03:00
Tobias Ulvgard
f01da91abf Add dependency to Android's log target in CMake 2018-10-03 10:10:37 +02:00
Daniel Chabrowski
fb37585bc1 Little cmake and tests refactor
Change from spdlog_ex to const spdlog_ex& got rid of the GCC8 warning.
2018-08-14 21:33:47 +02:00
gabime
da30e2ef18 Improved CMakeLists and added bench 2018-08-13 01:22:35 +03:00
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'
2018-08-11 02:24:45 +02:00
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.
2018-02-11 21:16:15 +01:00
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.
2018-02-11 21:13:33 +01:00
davide
b67076fc85 added level_t to sink. Improves the flexibility of loggers with multiple sinks 2016-09-12 22:26:38 +02:00
gabime
7885aa478c no streams 2016-07-08 17:50:13 +03:00
Kevin M. Godby
1c31b42e1a Use CMake Threads package instead of manually specifying -pthread. 2016-06-17 01:07:40 -05:00
Gabi Melman
6d5bce46f8 Revert "CMake script improvements" 2016-05-05 10:19:32 +03:00
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.
2016-05-04 19:53:50 -05:00
gabime
c900b25dfd fixed gcc build 2015-09-19 18:57:19 +03:00
Ruslan Baratov
c19d9759d5 Add CMake build 2015-09-10 23:22:18 +03:00