Skip to content

Commit

Permalink
Merge pull request #9 from yj12138/main
Browse files Browse the repository at this point in the history
openim sdk cpp for unity
  • Loading branch information
FGadvancer authored Mar 31, 2024
2 parents d8d8846 + eb0c732 commit 1ab53bd
Show file tree
Hide file tree
Showing 33 changed files with 25,449 additions and 2,775 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,8 @@
*.exe
*.out
*.app
/vendor
/openimsdk.h
/openimsdk.dll
/build
/.vscode
13 changes: 13 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
cmake_minimum_required(VERSION 3.20)
project(openim-sdk-cpp)
set(CMAKE_CXX_STANDARD 11)
include_directories(${CMAKE_SOURCE_DIR}/gen)
link_directories(${CMAKE_SOURCE_DIR}/gen)
file(GLOB INCLUDES "include/*.h")
file(GLOB SOURCES "src/*.cpp")

add_library(openimsdk_wrapper STATIC ${SOURCES} ${INCLUDES})
target_include_directories(openimsdk_wrapper PUBLIC include)
target_link_libraries(openimsdk_wrapper openimsdk)
add_subdirectory(examples)

5 changes: 0 additions & 5 deletions c_cpp_wrapper/build_dll.bat

This file was deleted.

2 changes: 0 additions & 2 deletions c_cpp_wrapper/build_run_test.bat

This file was deleted.

9 changes: 0 additions & 9 deletions c_cpp_wrapper/build_so.sh

This file was deleted.

1 change: 0 additions & 1 deletion c_cpp_wrapper/build_test.bat

This file was deleted.

77 changes: 0 additions & 77 deletions c_cpp_wrapper/constant.go

This file was deleted.

1 change: 0 additions & 1 deletion c_cpp_wrapper/event_listener/listener.go

This file was deleted.

8 changes: 0 additions & 8 deletions c_cpp_wrapper/gen_ios_dylib.sh

This file was deleted.

166 changes: 0 additions & 166 deletions c_cpp_wrapper/go.sum

This file was deleted.

Loading

0 comments on commit 1ab53bd

Please sign in to comment.