Commit Graph

120 Commits

Author SHA1 Message Date
gabime 1549ff12f1 Replace STRING(PREPEND ..) in CMakeLists.txt to support older CMake versions 2019-10-06 13:13:26 +03:00
gabime cf2bf488a2 CmakeLists.txt: Fixed package config generation 2019-10-04 21:49:20 +03:00
Matthias Schoepfer 4021e5eea9 CMakeLists.txt: removed spdlog subdir from library install
The library gets installed into ${CMAKE_INSTALL_LIBDIR}/spdlog, which
is for unix / linux a rather strange place, hence, put it where the linker
is more likely to find it.

Signed-off-by: Matthias Schoepfer <matthias.schoepfer@ithinx.io>
2019-10-01 17:14:01 +02:00
gabime 1add9c9a02 Added SPDLOG_WCHAR_FILENAMES options to CMake 2019-09-28 11:19:56 +03:00
Gabi Melman 4da95066a0
Merge pull request #1241 from orbea/fmt
cmake: Only install fmt headers when SPDLOG_FMT_EXTERNAL is not defined.
2019-09-23 10:25:48 +03:00
orbea 920dd078f3 cmake: Only install fmt headers when SPDLOG_FMT_EXTERNAL is not defined. 2019-09-22 23:19:11 -07:00
orbea 588910129c cmake: Add a new spdlog.pc pkgconfig file.
Fixes https://github.com/gabime/spdlog/issues/1237.
2019-09-22 19:04:29 -07:00
gabime c1c23d1e7b Revert pull #1228 2019-09-18 16:16:44 +03:00
gabime e52672c263 Fixed CMakeLists.txt 2019-09-18 15:08:15 +03:00
Christian c87882e82f added version check 2019-09-18 09:20:01 -02:30
Christian bd4301b2c1 added arch_independent option 2019-09-17 14:45:59 -02:30
gabime 45a18a61c6 CmakeLists.txt: Added version-number and debug suffixes + SPDLOG_BUILD_SHARED property 2019-09-08 00:42:23 +03:00
gabime dae4f9fef6 split spdlog.cpp to multiple .cpp files 2019-09-05 14:37:25 +03:00
gabime 7dc378e296 Update CMakeLists.txt 2019-08-19 11:38:19 +03:00
gabime 0335e3fcc0 Print error and abort instead of throw if SPDLOG_NO_EXEPTIONS is defined 2019-08-19 11:31:33 +03:00
gabime b0a25f0183 wip - no-exceptions support 2019-08-18 19:46:28 +03:00
gabime a8b5e3da29 Removed unneeded test targets from CMakeLists 2019-08-16 18:48:18 +03:00
gabime 8cc0997f79 Added SPDLOG_WCHAR_SUPPORT options to CMake under windows 2019-08-09 10:31:53 +03:00
gabime 8dc3a66688 Fix #1180 2019-08-06 19:12:35 +03:00
gabime 121fc0a273 Minor update to CMakelists 2019-07-14 13:27:09 +03:00
gabime 4d9281018f Minor update to CMakelists 2019-07-14 13:26:01 +03:00
gabime 330d491eba Enable again test building by default in cmake 2019-07-10 01:45:05 +03:00
gabime 07d753176f Update CMakeLists.txt to not build tests by default 2019-07-07 13:36:46 +03:00
gabime bb0f3839c1 Updated CMake options and defaults 2019-07-01 02:06:09 +03:00
gabime 8970fd5d2f CMake cosmetic 2019-06-19 18:01:34 +03:00
gabime 67d5f65507 CMake support for building shared lib (not for win32) 2019-06-19 17:52:50 +03:00
gabime 7d678be07a CMake - turn off examples by default 2019-06-19 17:31:25 +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
Jan Kundrát c60f790793 Do not impose -Wextra -Wconversion etc on library users
I had to nuke the flags targetting spdlog_header_only because in CMake,
an interface target apparently really only supports the INTERFACE
option.

As I am only targeting Linux, the MSVC changes rely on spdlog's CI and
manual code review. That said, it makes sense to also stop forcing these
options on third party code, assuming that the CMake installations work
the same on Windows.

Fixes #1104
2019-06-10 10:54:49 +02:00
gabime 5743adc467 CMake use extract version from version.h 2019-05-29 15:15:35 +03:00
gabime 76fc166e11 CMakeLists.txt minor improvments 2019-05-29 01:41:48 +03:00
gabime d439f75491 Minor CMake cosmetic fix 2019-05-29 00:17:38 +03:00
gabime c559067f77 CMake refactoring 2019-05-29 00:13:02 +03:00
gabime 30bd80bd85 CMake improvements 2019-05-29 00:05:24 +03:00
gabime 54f1941691 Fixed target_compile_options in cmake 2019-05-24 01:39:02 +03:00
gabime 6636ae6e63 CmakeLists.txt compiler warnings 2019-05-23 23:35:30 +03:00
gabime 2e75f42c69 Install using GNUInstallDirs in cmake 2019-05-23 19:17:52 +03:00
gabime 65576707bf Removed shared_lib option (not supported by windwos) and remove example and test from default build 2019-05-23 18:26:47 +03:00
gabime 6ec8a06a09 Fixed Cmake under windows and disable bench build from default config 2019-05-22 12:32:59 +03:00
gabime 1ef80d6330 Updated CMakeLists.txt 2019-05-19 19:39:38 +03:00
Gabi Melman a532a072ce
Update CMakeLists.txt 2019-05-19 17:06:22 +03:00
gabime 87eb569929 More updates to CMake (version support , cmake.in) 2019-05-19 15:47:49 +03:00
David Zemon dd2f293f33 Clean up CMake a bit more 2019-05-17 23:33:44 -05:00
David Zemon 24e4f0aa87 Allowed overriding of `SPDLOG_MASTER_PROJECT` to better support Conan 2019-05-17 23:31:30 -05: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 b021be29e5 Add support for .tar.gz and .zip packages via CPack 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 b3fe4b54c8 Fixed CMakeLists.txt 2019-05-13 01:28:06 +03:00