Skip to content

Commit cf3cf6e

Browse files
committed
release 0.0.1-beta source code for cpp
0 parents  commit cf3cf6e

File tree

1,455 files changed

+168332
-0
lines changed

Some content is hidden

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

1,455 files changed

+168332
-0
lines changed

CHANGELOG.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# 0.0.1-beta 2022-11-26
2+
3+
### G42Cloud SDK ECS
4+
5+
- _Features_
6+
- New Support ECS
7+
- _Bug Fix_
8+
- None
9+
- _Change_
10+
- None
11+
12+
### G42Cloud SDK EVS
13+
14+
- _Features_
15+
- New Support EVS
16+
- _Bug Fix_
17+
- None
18+
- _Change_
19+
- None
20+
21+
### G42Cloud SDK VPC
22+
23+
- _Features_
24+
- New Support VPC
25+
- _Bug Fix_
26+
- None
27+
- _Change_
28+
- None

CMakeLists.txt

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
cmake_minimum_required (VERSION 3.10)
2+
3+
#PROJECT's NAME
4+
project(g42cloud_cpp_sdk)
5+
6+
set(CMAKE_CXX_STANDARD 14)
7+
8+
include(GNUInstallDirs)
9+
10+
option(ENABLE_SHARED "Enable shared library" ON)
11+
option(ENABLE_RTTR "Enable rttr library" OFF)
12+
13+
if(ENABLE_SHARED)
14+
set(LIB_TYPE SHARED)
15+
add_definitions(-DG42CLOUD_SHARED)
16+
else()
17+
set(LIB_TYPE STATIC)
18+
endif()
19+
20+
SET(BUILD_SERVICE ecs)
21+
SET(SERVICE_VERSION v2)
22+
23+
if(BUILD_SERVICE STREQUAL "all" OR BUILD_SERVICE STREQUAL "")
24+
# USE MULTIPLE SERVICES(EXAMPLE: USE VPC ECS EVS)
25+
add_subdirectory(core)
26+
add_subdirectory(vpc/src/v2)
27+
add_subdirectory(ecs/src/v2)
28+
add_subdirectory(evs/src/v2)
29+
message(STATUS "Build all Services")
30+
else()
31+
# USE SINGLE SERVICE(EXAMPLE: USE ECS)
32+
add_subdirectory(core)
33+
add_subdirectory(${BUILD_SERVICE}/src/${SERVICE_VERSION})
34+
message(STATUS "'BUILD_SERVICE'=${BUILD_SERVICE}")
35+
endif()
36+

0 commit comments

Comments
 (0)