diff --git a/.build_win32_amd64.txt b/.build_win32_amd64.txt new file mode 100644 index 00000000..a40188ae --- /dev/null +++ b/.build_win32_amd64.txt @@ -0,0 +1,4 @@ +1 +success +96e840155393fce947c427aa2faf5ba0ef100a22 +03 Jul 2019 17:45:08 diff --git a/include/spdlog/sinks/wincolor_sink-inl.h b/include/spdlog/sinks/wincolor_sink-inl.h index aee0bb95..e7f3fb51 100644 --- a/include/spdlog/sinks/wincolor_sink-inl.h +++ b/include/spdlog/sinks/wincolor_sink-inl.h @@ -66,7 +66,7 @@ void SPDLOG_INLINE wincolor_sink::log(const details::log_msg &msg) print_range_(formatted, 0, msg.color_range_start); // in color range - auto orig_attribs = set_foreground_color_(colors_[msg.level]); + auto orig_attribs = set_foreground_color_(colors_[msg.level.value]); print_range_(formatted, msg.color_range_start, msg.color_range_end); // reset to orig colors ::SetConsoleTextAttribute(out_handle_, orig_attribs); diff --git a/out/win32_amd64/CPackConfig.cmake b/out/win32_amd64/CPackConfig.cmake new file mode 100644 index 00000000..f82be6e9 --- /dev/null +++ b/out/win32_amd64/CPackConfig.cmake @@ -0,0 +1,91 @@ +# This file will be configured to contain variables for CPack. These variables +# should be set in the CMake list file of the project before CPack module is +# included. The list of available CPACK_xxx variables and their associated +# documentation may be obtained using +# cpack --help-variable-list +# +# Some variables are common to all generators (e.g. CPACK_PACKAGE_NAME) +# and some are specific to a generator +# (e.g. CPACK_NSIS_EXTRA_INSTALL_COMMANDS). The generator specific variables +# usually begin with CPACK__xxxx. + + +set(CPACK_BINARY_7Z "") +set(CPACK_BINARY_BUNDLE "") +set(CPACK_BINARY_CYGWIN "") +set(CPACK_BINARY_DEB "") +set(CPACK_BINARY_DRAGNDROP "") +set(CPACK_BINARY_FREEBSD "") +set(CPACK_BINARY_IFW "") +set(CPACK_BINARY_NSIS "") +set(CPACK_BINARY_NUGET "") +set(CPACK_BINARY_OSXX11 "") +set(CPACK_BINARY_PACKAGEMAKER "") +set(CPACK_BINARY_PRODUCTBUILD "") +set(CPACK_BINARY_RPM "") +set(CPACK_BINARY_STGZ "") +set(CPACK_BINARY_TBZ2 "") +set(CPACK_BINARY_TGZ "") +set(CPACK_BINARY_TXZ "") +set(CPACK_BINARY_TZ "") +set(CPACK_BINARY_WIX "") +set(CPACK_BINARY_ZIP "") +set(CPACK_BUILD_SOURCE_DIRS "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog;C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64") +set(CPACK_CMAKE_GENERATOR "Visual Studio 15 2017 Win64") +set(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE") +set(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE") +set(CPACK_GENERATOR "TGZ;ZIP") +set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY "0") +set(CPACK_INSTALL_CMAKE_PROJECTS "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64;spdlog;ALL;.") +set(CPACK_INSTALL_PREFIX "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64") +set(CPACK_MODULE_PATH "") +set(CPACK_NSIS_DISPLAY_NAME "spdlog 1.4.2") +set(CPACK_NSIS_INSTALLER_ICON_CODE "") +set(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "") +set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64") +set(CPACK_NSIS_PACKAGE_NAME "spdlog 1.4.2") +set(CPACK_OUTPUT_CONFIG_FILE "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64/CPackConfig.cmake") +set(CPACK_PACKAGE_CONTACT "Gabi Melman ") +set(CPACK_PACKAGE_DEFAULT_LOCATION "/") +set(CPACK_PACKAGE_DESCRIPTION_FILE "C:/Program Files/CMake/share/cmake-3.15/Templates/CPack.GenericDescription.txt") +set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast C++ logging library") +set(CPACK_PACKAGE_FILE_NAME "spdlog-1.4.2-win64") +set(CPACK_PACKAGE_INSTALL_DIRECTORY "spdlog 1.4.2") +set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "spdlog 1.4.2") +set(CPACK_PACKAGE_NAME "spdlog") +set(CPACK_PACKAGE_RELOCATABLE "true") +set(CPACK_PACKAGE_VENDOR "Gabi Melman") +set(CPACK_PACKAGE_VERSION "1.4.2") +set(CPACK_PACKAGE_VERSION_MAJOR "1") +set(CPACK_PACKAGE_VERSION_MINOR "4") +set(CPACK_PACKAGE_VERSION_PATCH "2") +set(CPACK_PROJECT_URL "https://github.com/gabime/spdlog") +set(CPACK_RESOURCE_FILE_LICENSE "C:/Program Files/CMake/share/cmake-3.15/Templates/CPack.GenericLicense.txt") +set(CPACK_RESOURCE_FILE_README "C:/Program Files/CMake/share/cmake-3.15/Templates/CPack.GenericDescription.txt") +set(CPACK_RESOURCE_FILE_WELCOME "C:/Program Files/CMake/share/cmake-3.15/Templates/CPack.GenericWelcome.txt") +set(CPACK_RPM_PACKAGE_DESCRIPTION "Very fast, header-only/compiled, C++ logging library.") +set(CPACK_RPM_PACKAGE_GROUP "System Environment/Libraries") +set(CPACK_RPM_PACKAGE_LICENSE "MIT") +set(CPACK_RPM_PACKAGE_URL "https://github.com/gabime/spdlog") +set(CPACK_SET_DESTDIR "OFF") +set(CPACK_SOURCE_7Z "ON") +set(CPACK_SOURCE_CYGWIN "") +set(CPACK_SOURCE_GENERATOR "7Z;ZIP") +set(CPACK_SOURCE_OUTPUT_CONFIG_FILE "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64/CPackSourceConfig.cmake") +set(CPACK_SOURCE_RPM "") +set(CPACK_SOURCE_TBZ2 "") +set(CPACK_SOURCE_TGZ "") +set(CPACK_SOURCE_TXZ "") +set(CPACK_SOURCE_TZ "") +set(CPACK_SOURCE_ZIP "ON") +set(CPACK_SYSTEM_NAME "win64") +set(CPACK_TOPLEVEL_TAG "win64") +set(CPACK_WIX_SIZEOF_VOID_P "8") + +if(NOT CPACK_PROPERTIES_FILE) + set(CPACK_PROPERTIES_FILE "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64/CPackProperties.cmake") +endif() + +if(EXISTS ${CPACK_PROPERTIES_FILE}) + include(${CPACK_PROPERTIES_FILE}) +endif() diff --git a/out/win32_amd64/CPackSourceConfig.cmake b/out/win32_amd64/CPackSourceConfig.cmake new file mode 100644 index 00000000..6115d172 --- /dev/null +++ b/out/win32_amd64/CPackSourceConfig.cmake @@ -0,0 +1,99 @@ +# This file will be configured to contain variables for CPack. These variables +# should be set in the CMake list file of the project before CPack module is +# included. The list of available CPACK_xxx variables and their associated +# documentation may be obtained using +# cpack --help-variable-list +# +# Some variables are common to all generators (e.g. CPACK_PACKAGE_NAME) +# and some are specific to a generator +# (e.g. CPACK_NSIS_EXTRA_INSTALL_COMMANDS). The generator specific variables +# usually begin with CPACK__xxxx. + + +set(CPACK_BINARY_7Z "") +set(CPACK_BINARY_BUNDLE "") +set(CPACK_BINARY_CYGWIN "") +set(CPACK_BINARY_DEB "") +set(CPACK_BINARY_DRAGNDROP "") +set(CPACK_BINARY_FREEBSD "") +set(CPACK_BINARY_IFW "") +set(CPACK_BINARY_NSIS "") +set(CPACK_BINARY_NUGET "") +set(CPACK_BINARY_OSXX11 "") +set(CPACK_BINARY_PACKAGEMAKER "") +set(CPACK_BINARY_PRODUCTBUILD "") +set(CPACK_BINARY_RPM "") +set(CPACK_BINARY_STGZ "") +set(CPACK_BINARY_TBZ2 "") +set(CPACK_BINARY_TGZ "") +set(CPACK_BINARY_TXZ "") +set(CPACK_BINARY_TZ "") +set(CPACK_BINARY_WIX "") +set(CPACK_BINARY_ZIP "") +set(CPACK_BUILD_SOURCE_DIRS "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog;C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64") +set(CPACK_CMAKE_GENERATOR "Visual Studio 15 2017 Win64") +set(CPACK_COMPONENT_UNSPECIFIED_HIDDEN "TRUE") +set(CPACK_COMPONENT_UNSPECIFIED_REQUIRED "TRUE") +set(CPACK_GENERATOR "7Z;ZIP") +set(CPACK_IGNORE_FILES "/CVS/;/\\.svn/;/\\.bzr/;/\\.hg/;/\\.git/;\\.swp\$;\\.#;/#") +set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY "0") +set(CPACK_INSTALLED_DIRECTORIES "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog;/") +set(CPACK_INSTALL_CMAKE_PROJECTS "") +set(CPACK_INSTALL_PREFIX "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64") +set(CPACK_MODULE_PATH "") +set(CPACK_NSIS_DISPLAY_NAME "spdlog 1.4.2") +set(CPACK_NSIS_INSTALLER_ICON_CODE "") +set(CPACK_NSIS_INSTALLER_MUI_ICON_CODE "") +set(CPACK_NSIS_INSTALL_ROOT "$PROGRAMFILES64") +set(CPACK_NSIS_PACKAGE_NAME "spdlog 1.4.2") +set(CPACK_OUTPUT_CONFIG_FILE "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64/CPackConfig.cmake") +set(CPACK_PACKAGE_CONTACT "Gabi Melman ") +set(CPACK_PACKAGE_DEFAULT_LOCATION "/") +set(CPACK_PACKAGE_DESCRIPTION_FILE "C:/Program Files/CMake/share/cmake-3.15/Templates/CPack.GenericDescription.txt") +set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Fast C++ logging library") +set(CPACK_PACKAGE_FILE_NAME "spdlog-1.4.2-Source") +set(CPACK_PACKAGE_INSTALL_DIRECTORY "spdlog 1.4.2") +set(CPACK_PACKAGE_INSTALL_REGISTRY_KEY "spdlog 1.4.2") +set(CPACK_PACKAGE_NAME "spdlog") +set(CPACK_PACKAGE_RELOCATABLE "true") +set(CPACK_PACKAGE_VENDOR "Gabi Melman") +set(CPACK_PACKAGE_VERSION "1.4.2") +set(CPACK_PACKAGE_VERSION_MAJOR "1") +set(CPACK_PACKAGE_VERSION_MINOR "4") +set(CPACK_PACKAGE_VERSION_PATCH "2") +set(CPACK_PROJECT_URL "https://github.com/gabime/spdlog") +set(CPACK_RESOURCE_FILE_LICENSE "C:/Program Files/CMake/share/cmake-3.15/Templates/CPack.GenericLicense.txt") +set(CPACK_RESOURCE_FILE_README "C:/Program Files/CMake/share/cmake-3.15/Templates/CPack.GenericDescription.txt") +set(CPACK_RESOURCE_FILE_WELCOME "C:/Program Files/CMake/share/cmake-3.15/Templates/CPack.GenericWelcome.txt") +set(CPACK_RPM_PACKAGE_DESCRIPTION "Very fast, header-only/compiled, C++ logging library.") +set(CPACK_RPM_PACKAGE_GROUP "System Environment/Libraries") +set(CPACK_RPM_PACKAGE_LICENSE "MIT") +set(CPACK_RPM_PACKAGE_SOURCES "ON") +set(CPACK_RPM_PACKAGE_URL "https://github.com/gabime/spdlog") +set(CPACK_SET_DESTDIR "OFF") +set(CPACK_SOURCE_7Z "ON") +set(CPACK_SOURCE_CYGWIN "") +set(CPACK_SOURCE_GENERATOR "7Z;ZIP") +set(CPACK_SOURCE_IGNORE_FILES "/CVS/;/\\.svn/;/\\.bzr/;/\\.hg/;/\\.git/;\\.swp\$;\\.#;/#") +set(CPACK_SOURCE_INSTALLED_DIRECTORIES "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog;/") +set(CPACK_SOURCE_OUTPUT_CONFIG_FILE "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64/CPackSourceConfig.cmake") +set(CPACK_SOURCE_PACKAGE_FILE_NAME "spdlog-1.4.2-Source") +set(CPACK_SOURCE_RPM "") +set(CPACK_SOURCE_TBZ2 "") +set(CPACK_SOURCE_TGZ "") +set(CPACK_SOURCE_TOPLEVEL_TAG "win64-Source") +set(CPACK_SOURCE_TXZ "") +set(CPACK_SOURCE_TZ "") +set(CPACK_SOURCE_ZIP "ON") +set(CPACK_STRIP_FILES "") +set(CPACK_SYSTEM_NAME "win64") +set(CPACK_TOPLEVEL_TAG "win64-Source") +set(CPACK_WIX_SIZEOF_VOID_P "8") + +if(NOT CPACK_PROPERTIES_FILE) + set(CPACK_PROPERTIES_FILE "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64/CPackProperties.cmake") +endif() + +if(EXISTS ${CPACK_PROPERTIES_FILE}) + include(${CPACK_PROPERTIES_FILE}) +endif() diff --git a/out/win32_amd64/CTestTestfile.cmake b/out/win32_amd64/CTestTestfile.cmake new file mode 100644 index 00000000..4cb4bd54 --- /dev/null +++ b/out/win32_amd64/CTestTestfile.cmake @@ -0,0 +1,8 @@ +# CMake generated Testfile for +# Source directory: C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog +# Build directory: C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64 +# +# This file includes the relevant testing commands required for +# testing this directory and lists subdirectories to be tested as well. +subdirs("example") +subdirs("tests") diff --git a/out/win32_amd64/spdlog.pc b/out/win32_amd64/spdlog.pc new file mode 100644 index 00000000..e757b0e7 --- /dev/null +++ b/out/win32_amd64/spdlog.pc @@ -0,0 +1,13 @@ +prefix=C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64 +exec_prefix=${prefix} +includedir=${prefix}/include +libdir=${exec_prefix}/lib + +Name: libspdlog +Description: Fast C++ logging library. +URL: https://github.com/gabime/spdlog +Version: 1.4.2 +CFlags: -I${includedir} -DSPDLOG_COMPILED_LIB +Libs: -L${libdir} -lspdlog -pthread +Requires: + diff --git a/out/win32_amd64/spdlogConfig.cmake b/out/win32_amd64/spdlogConfig.cmake new file mode 100644 index 00000000..6cdd5446 --- /dev/null +++ b/out/win32_amd64/spdlogConfig.cmake @@ -0,0 +1,15 @@ +# Copyright(c) 2019 spdlog authors +# Distributed under the MIT License (http://opensource.org/licenses/MIT) + +find_package(Threads REQUIRED) + +set(SPDLOG_FMT_EXTERNAL OFF) +set(config_targets_file spdlogConfigTargets.cmake) + +if(SPDLOG_FMT_EXTERNAL) + include(CMakeFindDependencyMacro) + find_dependency(fmt CONFIG) +endif() + + +include("${CMAKE_CURRENT_LIST_DIR}/${config_targets_file}") diff --git a/out/win32_amd64/spdlogConfigVersion.cmake b/out/win32_amd64/spdlogConfigVersion.cmake new file mode 100644 index 00000000..5f23c320 --- /dev/null +++ b/out/win32_amd64/spdlogConfigVersion.cmake @@ -0,0 +1,51 @@ +# This is a basic version file for the Config-mode of find_package(). +# It is used by write_basic_package_version_file() as input file for configure_file() +# to create a version-file which can be installed along a config.cmake file. +# +# The created file sets PACKAGE_VERSION_EXACT if the current version string and +# the requested version string are exactly the same and it sets +# PACKAGE_VERSION_COMPATIBLE if the current version is >= requested version, +# but only if the requested major version is the same as the current one. +# The variable CVF_VERSION must be set before calling configure_file(). + + +set(PACKAGE_VERSION "1.4.2") + +if(PACKAGE_VERSION VERSION_LESS PACKAGE_FIND_VERSION) + set(PACKAGE_VERSION_COMPATIBLE FALSE) +else() + + if("1.4.2" MATCHES "^([0-9]+)\\.") + set(CVF_VERSION_MAJOR "${CMAKE_MATCH_1}") + else() + set(CVF_VERSION_MAJOR "1.4.2") + endif() + + if(PACKAGE_FIND_VERSION_MAJOR STREQUAL CVF_VERSION_MAJOR) + set(PACKAGE_VERSION_COMPATIBLE TRUE) + else() + set(PACKAGE_VERSION_COMPATIBLE FALSE) + endif() + + if(PACKAGE_FIND_VERSION STREQUAL PACKAGE_VERSION) + set(PACKAGE_VERSION_EXACT TRUE) + endif() +endif() + + +# if the installed project requested no architecture check, don't perform the check +if("FALSE") + return() +endif() + +# if the installed or the using project don't have CMAKE_SIZEOF_VOID_P set, ignore it: +if("${CMAKE_SIZEOF_VOID_P}" STREQUAL "" OR "8" STREQUAL "") + return() +endif() + +# check that the installed version has the same 32/64bit-ness as the one which is currently searching: +if(NOT CMAKE_SIZEOF_VOID_P STREQUAL "8") + math(EXPR installedBits "8 * 8") + set(PACKAGE_VERSION "${PACKAGE_VERSION} (${installedBits}bit)") + set(PACKAGE_VERSION_UNSUITABLE TRUE) +endif() diff --git a/out/win32_amd64/tests/CTestTestfile.cmake b/out/win32_amd64/tests/CTestTestfile.cmake new file mode 100644 index 00000000..c92e7562 --- /dev/null +++ b/out/win32_amd64/tests/CTestTestfile.cmake @@ -0,0 +1,21 @@ +# CMake generated Testfile for +# Source directory: C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/tests +# Build directory: C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64/tests +# +# This file includes the relevant testing commands required for +# testing this directory and lists subdirectories to be tested as well. +if("${CTEST_CONFIGURATION_TYPE}" MATCHES "^([Dd][Ee][Bb][Uu][Gg])$") + add_test(spdlog-utests "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64/tests/Debug/spdlog-utests.exe") + set_tests_properties(spdlog-utests PROPERTIES _BACKTRACE_TRIPLES "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/tests/CMakeLists.txt;53;add_test;C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/tests/CMakeLists.txt;0;") +elseif("${CTEST_CONFIGURATION_TYPE}" MATCHES "^([Rr][Ee][Ll][Ee][Aa][Ss][Ee])$") + add_test(spdlog-utests "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64/tests/Release/spdlog-utests.exe") + set_tests_properties(spdlog-utests PROPERTIES _BACKTRACE_TRIPLES "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/tests/CMakeLists.txt;53;add_test;C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/tests/CMakeLists.txt;0;") +elseif("${CTEST_CONFIGURATION_TYPE}" MATCHES "^([Mm][Ii][Nn][Ss][Ii][Zz][Ee][Rr][Ee][Ll])$") + add_test(spdlog-utests "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64/tests/MinSizeRel/spdlog-utests.exe") + set_tests_properties(spdlog-utests PROPERTIES _BACKTRACE_TRIPLES "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/tests/CMakeLists.txt;53;add_test;C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/tests/CMakeLists.txt;0;") +elseif("${CTEST_CONFIGURATION_TYPE}" MATCHES "^([Rr][Ee][Ll][Ww][Ii][Tt][Hh][Dd][Ee][Bb][Ii][Nn][Ff][Oo])$") + add_test(spdlog-utests "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/out/win32_amd64/tests/RelWithDebInfo/spdlog-utests.exe") + set_tests_properties(spdlog-utests PROPERTIES _BACKTRACE_TRIPLES "C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/tests/CMakeLists.txt;53;add_test;C:/Users/WolverinDEV/TeaRoot-Client/third_party/spdlog/tests/CMakeLists.txt;0;") +else() + add_test(spdlog-utests NOT_AVAILABLE) +endif()