Skip to content

Commit 3279eb3

Browse files
committed
Merge branch 'dev' into 'master'
Dev See merge request server/openapi/openapi-cpp-sdk!53
2 parents ebead1b + 0bcced9 commit 3279eb3

File tree

407 files changed

+481
-463
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

407 files changed

+481
-463
lines changed

.gitignore

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,3 +62,21 @@ output/Release/openapi_cpp_test.pdb
6262
Debug/
6363
Release/
6464
*.log
65+
66+
output/Windows/Win32/Debug-MD/*.lib
67+
output/Windows/Win32/Debug-MT/*.lib
68+
output/Windows/Win32/Release-MD/*.lib
69+
output/Windows/Win32/Release-MT/*.lib
70+
71+
output/Windows/x64/Debug-MD/*.lib
72+
output/Windows/x64/Debug-MT/*.lib
73+
output/Windows/x64/Release-MD/*.lib
74+
output/Windows/x64/Release-MT/*.lib
75+
76+
output/Mac/Debug/*.dylib
77+
output/Mac/Debug/*.a
78+
output/Mac/Release/*.dylib
79+
output/Mac/Release/*.a
80+
81+
output/Linux/Debug/
82+
output/Linux/Release/

CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ if(UNIX) # Darwing or Linux
3232
set(Protobuf_PROTOC_LIBRARY "/usr/local/opt/protobuf/lib/libprotoc.dylib")
3333
set(Protobuf_PROTOC_EXECUTABLE "/usr/local/opt/protobuf/bin/protoc")
3434

35-
# 查找 Protobuf
35+
# find Protobuf package
3636
find_package(Protobuf REQUIRED)
3737
message(STATUS "Protobuf version: ${Protobuf_VERSION}")
3838
message(STATUS "Protobuf include dir: ${Protobuf_INCLUDE_DIR}")
@@ -85,7 +85,7 @@ file(GLOB MY_SOURCE_FILES "include/cpprest/*.h" "include/cpprest/details/*.h" "i
8585
"include/tigerapi/push_socket/*.h" "include/tigerapi/*.h" "src/*.cpp" "src/push_socket/*.cpp")
8686
add_library(${PROJECT_NAME} cpprest/ ${MY_SOURCE_FILES})
8787
message(MY_SOURCE_FILES " ${MY_SOURCE_FILES}")
88-
# 确保生成动态库
88+
8989
set_target_properties(${PROJECT_NAME} PROPERTIES
9090
SOVERSION ${PROJECT_VERSION}
9191
VERSION ${PROJECT_VERSION}

README.md

Lines changed: 2 additions & 2 deletions

changlog.md

Lines changed: 8 additions & 0 deletions

demo/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if(UNIX) # Darwing or Linux
2121
message(TIGERAPI_INCLUDE_DIR " ${TIGERAPI_INCLUDE_DIR}")
2222
find_library(TIGERAPI_LIBRARY NAMES libtigerapi.a)
2323

24-
# 可使用系统库或sdk output中的库
24+
# Use system library or sdk output library
2525
set(Protobuf_INCLUDE_DIR "/usr/local/opt/protobuf/include")
2626
set(Protobuf_LIBRARY "/usr/local/opt/protobuf/lib/libprotobuf.dylib")
2727
# find_path(Protobuf_INCLUDE_DIR NAMES google/protobuf/service.h)

demo/openapi_cpp_test/openapi_cpp_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// openapi_cpp_test.cpp : 此文件包含 "main" 函数。程序执行将在此处开始并结束。
1+
// openapi_cpp_test.cpp
22
#include <functional>
33
#include "tigerapi/push_client.h"
44
#include "tigerapi/tiger_client.h"

demo/openapi_cpp_test/openapi_cpp_test.vcxproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
<Keyword>Win32Proj</Keyword>
4040
<ProjectGuid>{a0427c13-8778-450a-a8f1-9e4984b882a5}</ProjectGuid>
4141
<RootNamespace>openapicpptest</RootNamespace>
42-
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion>
42+
<WindowsTargetPlatformVersion>10.0.19041.0</WindowsTargetPlatformVersion>
4343
</PropertyGroup>
4444
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props" />
4545
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug-MD|Win32'" Label="Configuration">

include/cpprest/astreambuf.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/***
1+
/***
22
* Copyright (C) Microsoft. All rights reserved.
33
* Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
44
*

include/cpprest/asyncrt_utils.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/***
1+
/***
22
* Copyright (C) Microsoft. All rights reserved.
33
* Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
44
*

include/cpprest/base_uri.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
/***
1+
/***
22
* Copyright (C) Microsoft. All rights reserved.
33
* Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
44
*

0 commit comments

Comments
 (0)