-
Notifications
You must be signed in to change notification settings - Fork 174
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Dylan <[email protected]>
- Loading branch information
Showing
420 changed files
with
1,866 additions
and
74,284 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
{ | ||
"version": 3, | ||
"cmakeMinimumRequired": { | ||
"major": 3, | ||
"minor": 19, | ||
"patch": 0 | ||
}, | ||
"configurePresets": [ | ||
{ | ||
"name": "windows", | ||
"hidden": true, | ||
"condition": { | ||
"type": "equals", | ||
"lhs": "${hostSystemName}", | ||
"rhs": "Windows" | ||
}, | ||
"warnings": { | ||
"dev": true, | ||
"deprecated": true | ||
}, | ||
"architecture": { | ||
"value": "Win32", | ||
"strategy": "set" | ||
}, | ||
"cacheVariables": { | ||
"CMAKE_INSTALL_PREFIX": "${sourceDir}" | ||
} | ||
}, | ||
{ | ||
"name": "Debug-Win32", | ||
"inherits": "windows", | ||
"displayName": "Windows (Debug)", | ||
"description": "Conan v2 with CMake example for Windows - Debug Configuration", | ||
"binaryDir": "${sourceDir}/build", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Debug", | ||
"CMAKE_DEBUG_POSTFIX": "d" | ||
} | ||
}, | ||
{ | ||
"name": "Release-Win32", | ||
"inherits": "windows", | ||
"displayName": "Windows (Release)", | ||
"description": "Conan v2 with CMake example for Windows - Release Configuration", | ||
"binaryDir": "${sourceDir}/build", | ||
"cacheVariables": { | ||
"CMAKE_BUILD_TYPE": "Release", | ||
"CMAKE_INSTALL_PREFIX": "${sourceDir}/win32-release" | ||
} | ||
} | ||
], | ||
"buildPresets": [ | ||
{ | ||
"name": "Debug-Win32", | ||
"configurePreset": "Debug-Win32", | ||
"displayName": "Windows Local Compilation (Debug)", | ||
"description": "Conan v2 with CMake example for Windows - Debug Configuration", | ||
"configuration": "Debug" | ||
}, | ||
{ | ||
"name": "Release-Win32", | ||
"configurePreset": "Release-Win32", | ||
"displayName": "Windows Local Compilation (Release)", | ||
"description": "Conan v2 with CMake example for Windows - Release Configuration", | ||
"configuration": "Release" | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
MESSAGE("############# app_sdk #############") | ||
|
||
SET(TARGET_NAME app_sdk) | ||
|
||
PROJECT(${TARGET_NAME}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
MESSAGE("############# core #############") | ||
|
||
SET(TARGET_NAME chatroom) | ||
|
||
PROJECT(${TARGET_NAME}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,35 @@ | ||
from conans import ConanFile, tools | ||
import platform | ||
from conan import ConanFile | ||
from conan.errors import ConanInvalidConfiguration | ||
from conan.tools.cmake import CMake, CMakeToolchain, cmake_layout | ||
from conan.tools.files import get, copy, collect_libs | ||
from conan.tools.scm import Git | ||
from conan.tools.build import check_min_cppstd | ||
import os | ||
import re | ||
|
||
|
||
class ModuleConan(ConanFile): | ||
class NebaseConan(ConanFile): | ||
name = "nim_demo" | ||
author = "Dylan <[email protected]>" | ||
url = "https://github.com/netease-kit/NIM_PC_Demo.git" | ||
description = "nim_demo" | ||
settings = "os", "compiler", "build_type", "arch" | ||
build_requires = ( | ||
# "sqlcipher/4.4.2", | ||
"openssl/1.1.1k", | ||
"tinyxml/2.6.2", | ||
"jsoncpp/1.9.4", | ||
"libuv/1.41.0", | ||
"libyuv/cci.20201106", | ||
"sqlite3/3.35.3", | ||
"cef_2623_binaries/1.0.0-3-ge03c0ce@yunxin/testing", | ||
"nls_play/1.0.0-1-g3f1fcc3@yunxin/testing", | ||
"nim_p2p_sdk/1.0.0-3-g6a6cedb@yunxin/testing", | ||
"nim_cpp_wrapper/8.5.0@yunxin/testing", | ||
"nertc/4.1.1-2-g0dc7953@yunxin/testing" | ||
) | ||
generators = "cmake" | ||
build_policy = "missing" | ||
options = {"shared": [True, False], "fPIC": [True, False]} | ||
default_options = {"shared": False, "fPIC": True} | ||
generators = "CMakeDeps", "cmake_paths", "cmake_find_package", "cmake" | ||
exports_sources = "*", "!build" | ||
|
||
def imports(self): | ||
self.copy("*.dll", "bin", "bin", keep_path=True) | ||
self.copy("*.pak", "bin", "bin", keep_path=True) | ||
self.copy("*.dat", "bin", "bin", keep_path=True) | ||
self.copy("cef*.pak", src="bin", dst="bin") | ||
self.copy("*.txt", "bin", "bin", keep_path=True) | ||
self.copy("*.bin", "bin", "bin", keep_path=True) | ||
self.copy("wow_helper.exe", "bin", "bin", keep_path=True) | ||
self.copy("*.html", "bin", "bin", keep_path=True) | ||
self.copy("*.dylib", "lib", "lib") | ||
self.copy("*.lib", "lib", "lib") | ||
self.copy("*.h", "include", "include", keep_path=True) | ||
def requirements(self): | ||
self.requires("libjpeg/9e") | ||
self.requires("openssl/3.3.2") | ||
self.requires("jsoncpp/1.9.5") | ||
self.requires("libuv/1.49.0") | ||
self.requires("libyuv/1892") | ||
self.requires("sqlite3/3.46.1") | ||
self.requires("tinyxml/2.6.2") | ||
self.requires("nim/10.5.0@yunxin/stable") | ||
self.requires("nertc/4.1.1@yunxin/stable") | ||
self.requires("cef/2623@yunxin/stable") | ||
self.requires("ne_live_player/1.1.1@yunxin/stable") | ||
self.requires("image_ole/4.2.0@yunxin/stable") | ||
self.requires("ne_transfer/0.1.0@yunxin/stable") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
MESSAGE("############# base #############") | ||
|
||
SET(TARGET_NAME base) | ||
|
||
PROJECT(${TARGET_NAME}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
MESSAGE("############# cef_module #############") | ||
|
||
SET(TARGET_NAME cef_module) | ||
|
||
PROJECT(${TARGET_NAME}) | ||
|
Oops, something went wrong.