File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ if(NOT COMMAND cpm_message)
4242 endfunction ()
4343endif ()
4444
45- set (CURRENT_CPM_VERSION v0.40.3 )
45+ set (CURRENT_CPM_VERSION 1.0.0-stable-version )
4646
4747get_filename_component (CPM_CURRENT_DIRECTORY "${CMAKE_CURRENT_LIST_DIR } " REALPATH )
4848if (CPM_DIRECTORY)
Original file line number Diff line number Diff line change 11CPMAddPackage (
22 NAME elog4cpp
3- GIT_REPOSITORY https://gitee .com/acking-you/elog4cpp.git
3+ GIT_REPOSITORY https://github .com/acking-you/elog4cpp.git
44 GIT_TAG origin/master
55 GIT_SHALLOW TRUE
66)
Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ int main()
154154{
155155 auto loop = netpoll::NewEventLoop (1 );
156156 auto dialer = netpoll::tcp::Dialer::New ({" 127.0.0.1" , 8080 });
157- #if __cplusplus >= 201703L
157+ #if __cplusplus >= 201703L || (_MSC_VER && _MSVC_LANG >= 201703L)
158158 dialer.bind <chat::client>();
159159#else
160160 netpoll::tcp::Dialer::Register<chat::client>();
Original file line number Diff line number Diff line change 11#pragma once
22
33// use std::any if cpp >= 17
4- #if __cplusplus >= 201703L
4+ #if __cplusplus >= 201703L || (_MSC_VER && _MSVC_LANG >= 201703L)
55#include < any>
66namespace netpoll {
77using Any = std::any;
Original file line number Diff line number Diff line change 11include (${PROJECT_SOURCE_DIR } /cmake/add_executable_test.cmake )
22CPMAddPackage (
33 doctest
4- GIT_REPOSITORY https://gitee .com/acking-you /doctest.git
5- GIT_TAG v2.4.9
4+ GIT_REPOSITORY https://github .com/doctest /doctest.git
5+ GIT_TAG v2.4.11
66 GIT_SHALLOW TRUE
77)
88
99CPMAddPackage (
1010 nanobench
11- GIT_REPOSITORY https://gitee .com/acking-you /nanobench.git
12- GIT_TAG v4.1.0
11+ GIT_REPOSITORY https://github .com/martinus /nanobench.git
12+ GIT_TAG v4.3.11
1313 GIT_SHALLOW TRUE )
1414
1515file (GLOB TEST_FILES
You can’t perform that action at this time.
0 commit comments