Commit Graph

99 Commits (e6cecd97acab43aa7b7d678f1fff85b6ef34fc7a)

Author SHA1 Message Date
gabime 330d491eba Enable again test building by default in cmake 6 years ago
gabime 07d753176f Update CMakeLists.txt to not build tests by default 6 years ago
gabime bb0f3839c1 Updated CMake options and defaults 6 years ago
gabime 8970fd5d2f CMake cosmetic 6 years ago
gabime 67d5f65507 CMake support for building shared lib (not for win32) 6 years ago
gabime 7d678be07a CMake - turn off examples by default 6 years ago
gabime cf64f2baca Fixed CMake address sanitizer 6 years ago
gabime 68a0193d95 CMake refactoring to functions 6 years ago
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
6 years ago
gabime 5743adc467 CMake use extract version from version.h 6 years ago
gabime 76fc166e11 CMakeLists.txt minor improvments 6 years ago
gabime d439f75491 Minor CMake cosmetic fix 6 years ago
gabime c559067f77 CMake refactoring 6 years ago
gabime 30bd80bd85 CMake improvements 6 years ago
gabime 54f1941691 Fixed target_compile_options in cmake 6 years ago
gabime 6636ae6e63 CmakeLists.txt compiler warnings 6 years ago
gabime 2e75f42c69 Install using GNUInstallDirs in cmake 6 years ago
gabime 65576707bf Removed shared_lib option (not supported by windwos) and remove example and test from default build 6 years ago
gabime 6ec8a06a09 Fixed Cmake under windows and disable bench build from default config 6 years ago
gabime 1ef80d6330 Updated CMakeLists.txt 6 years ago
Gabi Melman a532a072ce
Update CMakeLists.txt 6 years ago
gabime 87eb569929 More updates to CMake (version support , cmake.in) 6 years ago
David Zemon dd2f293f33 Clean up CMake a bit more 6 years ago
David Zemon 24e4f0aa87 Allowed overriding of `SPDLOG_MASTER_PROJECT` to better support Conan 6 years ago
David Zemon 6fe899af10 Set Threads::Threads dependency on spdlog libs - don't make user do it 6 years ago
David Zemon b021be29e5 Add support for .tar.gz and .zip packages via CPack 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 b3fe4b54c8 Fixed CMakeLists.txt 6 years ago
gabime 872ea6bf09 Deleted redundant Make files and solutions 6 years ago
gabime 32fb9d51b9 Cmake update to support both header-only and static 6 years ago
gabime ee0fdf016a Minore cmake fix 6 years ago
gabime 8b244ca988 Moved format.cpp into spdlog.cpp - this way only one src file is needed 6 years ago
gabime 6bcb422c80 clang format and SPLDOG_HEADER_ONLY macro 6 years ago
gabime 005450ff13 wip 6 years ago
gabime c031ae2aab Cmake message 6 years ago
gabime 29c949ab03 static lib by default 6 years ago
gabime 576e389788 static lib by default and tests 6 years ago
gabime 7b15a3d345 wip cmake 6 years ago
gabime eedb43d756 wip cmake 6 years ago
gabime 338125b93a wip cmake 6 years ago
gabime 3ecc3ab798 wip cmake 6 years ago
gabime de1cdb2dbe wip cmake 6 years ago
gabime c9887874bc wip cmake 6 years ago
gabime 69fcaf14e5 wip static-lib 6 years ago
gabime f414198fee Cmake fix 6 years ago
gabime c1c2ff2d07 wip 6 years ago
gabime ff89f1476d Restored error_handler as std::function 6 years ago
gabime baefe0b3f6 wip 6 years ago
gabime 7e29c48379 removed spdlite 6 years ago