Gabi Melman
90c5055b77
place dlls in the same directory as the executables on msvc
2023-12-24 12:28:02 +02:00
Gabi Melman
ea66477ac0
Copy dlls to the executable folder for msvc
2023-12-23 16:28:36 +02:00
gabime
57868277db
clang format
2023-10-01 18:01:02 +03:00
Gabi Melman
9b3a4e28c5
Copy spdlog dll to the executable folder for example, tests and bench
2023-10-01 17:42:44 +03:00
gabime
6d520df916
Removed header only options
2023-09-24 13:27:26 +03:00
albert-github
81ce5fcdb7
Remove obsolete part from cmake configuration files ( #2871 )
...
Updating minimum CMake version to 3.11
2023-08-30 23:20:37 +03:00
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
2023-02-12 10:34:22 +02:00
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.
2020-07-21 11:39:40 +03:00
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.
2020-07-20 22:03:50 +03:00
gabime
75c15e8028
Formatted cmake
2020-05-02 11:42:08 +03:00
gabime
ff0e430e46
Formatted cmake using cmake-format
2020-05-02 11:38:14 +03:00
Bruce Mitchener
937fe7e909
cmake: Fix tabs, whitespace at EOL.
2020-05-02 07:17:15 +07:00
Gabi Melman
7906592230
Fix #1499
2020-04-01 00:10:57 +03:00
Michael R. Crusoe
8d06df9775
Enable building & running the example against an installed copy of spdlog
2020-02-07 16:09:20 +01:00
gabime
9b7812a0f2
auto create log dir
2019-10-20 17:40:56 +03:00
gabime
bb0f3839c1
Updated CMake options and defaults
2019-07-01 02:06:09 +03:00
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