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