Skip to content

Commit

Permalink
feat: build with conan v1
Browse files Browse the repository at this point in the history
Signed-off-by: Dylan <[email protected]>
  • Loading branch information
nmgwddj committed Sep 30, 2024
1 parent 3abe652 commit bcf80c1
Show file tree
Hide file tree
Showing 420 changed files with 1,866 additions and 74,284 deletions.
1,026 changes: 1,026 additions & 0 deletions .cmake/conan.cmake

Large diffs are not rendered by default.

676 changes: 676 additions & 0 deletions .cmake/conan_provider.cmake

Large diffs are not rendered by default.

138 changes: 61 additions & 77 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,29 +1,19 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.10)

MESSAGE("############# nim_win_demo ##############")

SET(CMAKE_CXX_STANDARD 11)
SET(CMAKE_CXX_STANDARD 14)

IF (NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Choose the type of build." FORCE)
MESSAGE(STATUS "No CMAKE_BUILD_TYPE selected, defaulting to ${CMAKE_BUILD_TYPE}")
ENDIF ()

SET(CMAKE_INSTALL_PREFIX ${CMAKE_CURRENT_LIST_DIR} CACHE PATH "default install prefix" FORCE)
SET(BUILD_WITH_CONAN OFF CACHE BOOL "Build project with conan")
SET(BUILD_WITH_NERTC_G2 OFF CACHE BOOL "Build project with NeRTC G2")
set(INSTALL_CPP_WRAPPER OFF CACHE BOOL "Exports headers of C++ wrapper when called --target INSTALL" FORCE)

IF (CMAKE_BUILD_TYPE MATCHES "Release")
ADD_DEFINITIONS(-DNDEBUG)
ENDIF ()

IF (CMAKE_CL_64)
ELSE ()
ADD_DEFINITIONS(-DSUPPORTLOCALPLAYER)
ENDIF ()

SET(CONAN_DISABLE_CHECK_COMPILER ON)
SET(CMAKE_INCLUDE_CURRENT_DIR ON)
SET_PROPERTY(GLOBAL PROPERTY USE_FOLDERS ON)
SET_PROPERTY(GLOBAL PROPERTY PREDEFINED_TARGETS_FOLDER "cmake")
Expand All @@ -33,79 +23,77 @@ SET(GROUP_UI_COMPONENTS "ui_components")
SET(RELEASE_OUTPUT_7Z_FILE "${CMAKE_BINARY_DIR}/release.7z")
STRING(REPLACE "/" "\\\\" RELEASE_OUTPUT_7Z_FILE_WIN ${RELEASE_OUTPUT_7Z_FILE})

SET(NIM_CROSS_PLATFORM_SDK_FILE_NAME "nim-win32-ia32-9-9-0-383-build-1750145.tar.gz")
SET(DEBUG_THIRD_PARTY_LIBS "http://yx-web.nos.netease.com/package/1619605746/NIM_Windows_Demo_Build_Binaries_Debug.zip")
SET(RELEASE_THIRD_PARTY_LIBS "http://yx-web.nos.netease.com/package/1619605768/NIM_Windows_Demo_Build_Binaries_Release.zip")
SET(NIM_CROSS_PLATFORM_SDK_URL "https://yx-web-nosdn.netease.im/package/${NIM_CROSS_PLATFORM_SDK_FILE_NAME}")
SET(NERTC_SDK_URL "http://yx-web.nos.netease.com/package/1618217725/NERtc_Windows_SDK_v4.1.1.zip")
# SET(NIM_CROSS_PLATFORM_SDK_FILE_NAME "nim-win32-ia32-9-9-0-383-build-1750145.tar.gz")
# SET(DEBUG_THIRD_PARTY_LIBS "http://yx-web.nos.netease.com/package/1619605746/NIM_Windows_Demo_Build_Binaries_Debug.zip")
# SET(RELEASE_THIRD_PARTY_LIBS "http://yx-web.nos.netease.com/package/1619605768/NIM_Windows_Demo_Build_Binaries_Release.zip")
# SET(NIM_CROSS_PLATFORM_SDK_URL "https://yx-web-nosdn.netease.im/package/1725941048477/nim-win32-ia32-release-10-5-0-3214-build-2690765.tar.gz")
# SET(NERTC_SDK_URL "http://yx-web.nos.netease.com/package/1618217725/NERtc_Windows_SDK_v4.1.1.zip")

PROJECT(nim_win_demo)

# Build project with conan
IF (BUILD_WITH_CONAN)
# https://github.com/conan-io/cmake-conan
# Download automatically, you can also just copy the conan.cmake file
IF (NOT EXISTS "${CMAKE_BINARY_DIR}/conan.cmake")
MESSAGE(STATUS "Downloading conan.cmake from https://github.com/conan-io/cmake-conan")
FILE(DOWNLOAD "https://raw.githubusercontent.com/conan-io/cmake-conan/master/conan.cmake" "${CMAKE_BINARY_DIR}/conan.cmake")
ENDIF()
INCLUDE(${CMAKE_BINARY_DIR}/conan.cmake)
conan_cmake_autodetect(settings)
conan_cmake_install(PATH_OR_REFERENCE .. BUILD missing SETTINGS ${settings})
INCLUDE(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()
ENDIF ()

# Remove bin lib and include folder
file(REMOVE_RECURSE ${CMAKE_CURRENT_LIST_DIR}/bin)
file(REMOVE_RECURSE ${CMAKE_CURRENT_LIST_DIR}/lib)
file(REMOVE_RECURSE ${CMAKE_CURRENT_LIST_DIR}/include)
# https://github.com/conan-io/cmake-conan
# Download automatically, you can also just copy the conan.cmake file
IF (NOT EXISTS "${CMAKE_CURRENT_LIST_DIR}/.cmake/conan.cmake")
MESSAGE(STATUS "Downloading conan.cmake from https://github.com/conan-io/cmake-conan")
FILE(DOWNLOAD "https://raw.githubusercontent.com/conan-io/cmake-conan/master/conan.cmake" "${CMAKE_CURRENT_LIST_DIR}/.cmake/conan.cmake")
ENDIF()
INCLUDE(${CMAKE_CURRENT_LIST_DIR}/.cmake/conan.cmake)
conan_cmake_autodetect(settings)
conan_cmake_install(PATH_OR_REFERENCE .. BUILD missing SETTINGS ${settings})
INCLUDE(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
conan_basic_setup()

# # Remove bin lib and include folder
# file(REMOVE_RECURSE ${CMAKE_CURRENT_LIST_DIR}/bin)
# file(REMOVE_RECURSE ${CMAKE_CURRENT_LIST_DIR}/lib)
# file(REMOVE_RECURSE ${CMAKE_CURRENT_LIST_DIR}/include)

# Download third parties
IF (CMAKE_BUILD_TYPE MATCHES Debug AND NOT BUILD_WITH_CONAN)
IF (NOT EXISTS "${CMAKE_BINARY_DIR}/nim_demo_build_libraries_x86_debug.zip")
MESSAGE(STATUS "Downloading third party libraries from ${DEBUG_THIRD_PARTY_LIBS}")
FILE(DOWNLOAD ${DEBUG_THIRD_PARTY_LIBS} "${CMAKE_BINARY_DIR}/nim_demo_build_libraries_x86_debug.zip")
ENDIF ()
EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E tar -xf "${CMAKE_BINARY_DIR}/nim_demo_build_libraries_x86_debug.zip" WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
ENDIF ()
IF (CMAKE_BUILD_TYPE MATCHES Release AND NOT BUILD_WITH_CONAN)
IF (NOT EXISTS "${CMAKE_BINARY_DIR}/nim_demo_build_libraries_x86_release.zip")
MESSAGE(STATUS "Downloading third party libraries from ${RELEASE_THIRD_PARTY_LIBS}")
FILE(DOWNLOAD "${RELEASE_THIRD_PARTY_LIBS}" "${CMAKE_BINARY_DIR}/nim_demo_build_libraries_x86_release.zip")
ENDIF ()
EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E tar -xf "${CMAKE_BINARY_DIR}/nim_demo_build_libraries_x86_release.zip" WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
ENDIF ()
# IF (CMAKE_BUILD_TYPE MATCHES Debug AND NOT BUILD_WITH_CONAN)
# IF (NOT EXISTS "${CMAKE_BINARY_DIR}/nim_demo_build_libraries_x86_debug.zip")
# MESSAGE(STATUS "Downloading third party libraries from ${DEBUG_THIRD_PARTY_LIBS}")
# FILE(DOWNLOAD ${DEBUG_THIRD_PARTY_LIBS} "${CMAKE_BINARY_DIR}/nim_demo_build_libraries_x86_debug.zip")
# ENDIF ()
# EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E tar -xf "${CMAKE_BINARY_DIR}/nim_demo_build_libraries_x86_debug.zip" WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
# ENDIF ()
# IF (CMAKE_BUILD_TYPE MATCHES Release AND NOT BUILD_WITH_CONAN)
# IF (NOT EXISTS "${CMAKE_BINARY_DIR}/nim_demo_build_libraries_x86_release.zip")
# MESSAGE(STATUS "Downloading third party libraries from ${RELEASE_THIRD_PARTY_LIBS}")
# FILE(DOWNLOAD "${RELEASE_THIRD_PARTY_LIBS}" "${CMAKE_BINARY_DIR}/nim_demo_build_libraries_x86_release.zip")
# ENDIF ()
# EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E tar -xf "${CMAKE_BINARY_DIR}/nim_demo_build_libraries_x86_release.zip" WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
# ENDIF ()

# Downlaod NeRTC G2 SDK
IF (NOT EXISTS "${CMAKE_BINARY_DIR}/nertc-SDK.zip" AND NOT BUILD_WITH_CONAN)
MESSAGE(STATUS "Downloading NeRTC-SDK from ${NERTC_SDK_URL}")
FILE(DOWNLOAD ${NERTC_SDK_URL} ${CMAKE_BINARY_DIR}/nertc-SDK.zip)
ENDIF ()
EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E tar -xf "${CMAKE_BINARY_DIR}/nertc-SDK.zip" WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
FILE(GLOB_RECURSE NERTC_HEADER_FIELS ${CMAKE_BINARY_DIR}/nertc_sdk_windows*/*.h)
FILE(GLOB_RECURSE NERTC_LIB_FIELS ${CMAKE_BINARY_DIR}/nertc_sdk_windows*/lib/x86/*.lib)
FILE(GLOB_RECURSE NERTC_BINARY_FIELS ${CMAKE_BINARY_DIR}/nertc_sdk_windows*/dll/x86/*.dll)

FILE(COPY ${NERTC_HEADER_FIELS} DESTINATION ${CMAKE_CURRENT_LIST_DIR}/include)
FILE(COPY ${NERTC_LIB_FIELS} DESTINATION ${CMAKE_CURRENT_LIST_DIR}/lib)
FILE(COPY ${NERTC_BINARY_FIELS} DESTINATION ${CMAKE_CURRENT_LIST_DIR}/bin)
# IF (NOT EXISTS "${CMAKE_BINARY_DIR}/nertc-SDK.zip" AND NOT BUILD_WITH_CONAN)
# MESSAGE(STATUS "Downloading NeRTC-SDK from ${NERTC_SDK_URL}")
# FILE(DOWNLOAD ${NERTC_SDK_URL} ${CMAKE_BINARY_DIR}/nertc-SDK.zip)
# ENDIF ()
# EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E tar -xf "${CMAKE_BINARY_DIR}/nertc-SDK.zip" WORKING_DIRECTORY ${CMAKE_BINARY_DIR})
# FILE(GLOB_RECURSE NERTC_HEADER_FIELS ${CMAKE_BINARY_DIR}/nertc_sdk_windows*/*.h)
# FILE(GLOB_RECURSE NERTC_LIB_FIELS ${CMAKE_BINARY_DIR}/nertc_sdk_windows*/lib/x86/*.lib)
# FILE(GLOB_RECURSE NERTC_BINARY_FIELS ${CMAKE_BINARY_DIR}/nertc_sdk_windows*/dll/x86/*.dll)

# FILE(COPY ${NERTC_HEADER_FIELS} DESTINATION ${CMAKE_CURRENT_LIST_DIR}/include)
# FILE(COPY ${NERTC_LIB_FIELS} DESTINATION ${CMAKE_CURRENT_LIST_DIR}/lib)
# FILE(COPY ${NERTC_BINARY_FIELS} DESTINATION ${CMAKE_CURRENT_LIST_DIR}/bin)

# Copy Resources
execute_process( COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_LIST_DIR}/resource ${CMAKE_CURRENT_LIST_DIR}/bin)
# execute_process( COMMAND ${CMAKE_COMMAND} -E copy_directory ${CMAKE_CURRENT_LIST_DIR}/resource ${CMAKE_CURRENT_LIST_DIR}/bin)

# Download NeIM SDK
IF (NOT EXISTS "${CMAKE_BINARY_DIR}/nim-cross-platform-SDK.zip" AND NOT BUILD_WITH_CONAN)
MESSAGE(STATUS "Downloading NIM cross-platform SDK from ${NIM_CROSS_PLATFORM_SDK_URL}")
FILE(DOWNLOAD ${NIM_CROSS_PLATFORM_SDK_URL} ${CMAKE_BINARY_DIR}/${NIM_CROSS_PLATFORM_SDK_FILE_NAME})
ENDIF ()
EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E tar -xf ${CMAKE_BINARY_DIR}/${NIM_CROSS_PLATFORM_SDK_FILE_NAME} WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
# EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E tar -xf ${CMAKE_BINARY_DIR}/nim-win32-ia32-refs-tags-9.4.0.1554-build.166.tar.gz WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
IF (NOT BUILD_WITH_CONAN)
ADD_SUBDIRECTORY(wrapper)
INCLUDE_DIRECTORIES(wrapper)
LINK_DIRECTORIES(${CMAKE_CURRENT_LIST_DIR}/wrapper)
ENDIF ()
# IF (NOT EXISTS "${CMAKE_BINARY_DIR}/nim-cross-platform-SDK.zip" AND NOT BUILD_WITH_CONAN)
# MESSAGE(STATUS "Downloading NIM cross-platform SDK from ${NIM_CROSS_PLATFORM_SDK_URL}")
# FILE(DOWNLOAD ${NIM_CROSS_PLATFORM_SDK_URL} ${CMAKE_BINARY_DIR}/${NIM_CROSS_PLATFORM_SDK_FILE_NAME})
# ENDIF ()
# EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E tar -xf ${CMAKE_BINARY_DIR}/${NIM_CROSS_PLATFORM_SDK_FILE_NAME} WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
# # EXECUTE_PROCESS(COMMAND ${CMAKE_COMMAND} -E tar -xf ${CMAKE_BINARY_DIR}/nim-win32-ia32-refs-tags-9.4.0.1554-build.166.tar.gz WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
# IF (NOT BUILD_WITH_CONAN)
# ADD_SUBDIRECTORY(wrapper)
# INCLUDE_DIRECTORIES(wrapper)
# LINK_DIRECTORIES(${CMAKE_CURRENT_LIST_DIR}/wrapper)
# ENDIF ()

ADD_DEFINITIONS(
-DUNICODE
Expand All @@ -114,9 +102,7 @@ ADD_DEFINITIONS(
-DBUILD_WITH_XML_UTIL
)

IF (BUILD_WITH_NERTC_G2)
ADD_DEFINITIONS(-DUSING_RTC_G2)
ENDIF ()
ADD_DEFINITIONS(-DUSING_RTC_G2)

# Git information
LIST(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/.cmake/")
Expand Down Expand Up @@ -161,10 +147,8 @@ ADD_SUBDIRECTORY(tool_kits/ui_component/nim_service)
ADD_SUBDIRECTORY(tool_kits/ui_component/ui_kit)
ADD_SUBDIRECTORY(tool_kits/cef/cef_module)
ADD_SUBDIRECTORY(tool_kits/cef/cef_render)
ADD_SUBDIRECTORY(tool_kits/cef/cef_wrapper)
ADD_SUBDIRECTORY(app_sdk)
ADD_SUBDIRECTORY(nim_win_demo)
# uninstall
ADD_SUBDIRECTORY(tool_kits/uninstall)

SET_PROPERTY(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} PROPERTY VS_STARTUP_PROJECT nim_demo)
68 changes: 68 additions & 0 deletions CMakePresets.json
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"
}
]
}
19 changes: 0 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,27 +37,8 @@ cmake -Bbuild -G"Visual Studio 15 2017" -T"v141_xp" -DCMAKE_BUILD_TYPE=Debug
执行如上命令后,会自动下载依赖的三方库文件并解压到工程目录下,如执行无误您将看到如下信息:

```bash
############# nim_win_demo ##############
-- Downloading third party libraries from http://yx-web.nos.netease.com/package/1619524144/nim_demo_build_libraries_x86_debug.zip
-- Current git tag: 8.4.0, commit count: 772, describe: 8.4.0-2-gbe6c7fea
############# core #############
############# base #############
############# duilib #############
############# shared #############
############# db #############
############# transfer file P2P #############
############# av_kit #############
############# rtc_kit #############
############# capture_image #############
############# image_view #############
############# nim_service #############
############# ui_kit #############
############# cef_module #############
############# cef_render #############
############# libcef_dll_wrapper #############
############# app_sdk #############
############# nim_demo #############
############# nim demo uninstaller #############
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Code/nim_demo/build
Expand Down
2 changes: 0 additions & 2 deletions app_sdk/CMakeLists.txt
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})
Expand Down
2 changes: 0 additions & 2 deletions chatroom/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
MESSAGE("############# core #############")

SET(TARGET_NAME chatroom)

PROJECT(${TARGET_NAME})
Expand Down
62 changes: 31 additions & 31 deletions conanfile.py
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")
2 changes: 0 additions & 2 deletions nim_win_demo/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
MESSAGE("############# nim_demo #############")

SET(TARGET_NAME nim_demo)

PROJECT(${TARGET_NAME} DESCRIPTION "NetEase IM Demo")
Expand Down
2 changes: 0 additions & 2 deletions tool_kits/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
CMAKE_MINIMUM_REQUIRED(VERSION 3.10)

MESSAGE("############# nim demo installer #############")

SET(CMAKE_CXX_STANDARD 11)
SET(TARGET_NAME installer)

Expand Down
2 changes: 0 additions & 2 deletions tool_kits/base/CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
MESSAGE("############# base #############")

SET(TARGET_NAME base)

PROJECT(${TARGET_NAME})
Expand Down
2 changes: 0 additions & 2 deletions tool_kits/cef/cef_module/CMakeLists.txt
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})
Expand Down
Loading

0 comments on commit bcf80c1

Please sign in to comment.