1 Star 0 Fork 0

tredy6t/TeamTalk5

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
CMakeLists.txt 1.87 KB
一键复制 编辑 原始数据 按行查看 历史
cmake_minimum_required(VERSION 2.8)
project (TeamTalk5SDK)
option (BUILD_TEAMTALK_CORE "Build TeamTalk core library" OFF)
option (BUILD_TEAMTALK_LIBRARIES "Build TeamTalk libraries" ON)
option (BUILD_TEAMTALK_CLIENTS "Build TeamTalk client examples" ON)
option (BUILD_TEAMTALKPRO_SERVERS "Build TeamTalk server examples" ON)
set (TEAMTALK_ROOT ${CMAKE_CURRENT_LIST_DIR})
if (BUILD_TEAMTALK_CORE)
add_subdirectory (Library/TeamTalkLib)
endif()
if (BUILD_TEAMTALK_LIBRARIES)
add_subdirectory (Library/TeamTalkJNI)
endif()
if (BUILD_TEAMTALK_CLIENTS)
add_subdirectory (Client/qtTeamTalk)
add_subdirectory (Client/ttserverlog)
endif()
if (BUILD_TEAMTALKPRO_SERVERS)
add_subdirectory (Server/TeamTalkServer)
endif()
if (MSVC)
if (BUILD_TEAMTALK_LIBRARIES)
add_subdirectory (Library/TeamTalk.NET)
endif()
if (BUILD_TEAMTALK_CLIENTS)
add_subdirectory (Client/TeamTalkClassic)
add_subdirectory (Client/TeamTalkApp.NET)
add_subdirectory (Client/ttserverlog.NET)
endif()
if (BUILD_TEAMTALKPRO_SERVERS)
add_subdirectory (Server/TeamTalkServer.NET)
endif()
endif()
if (BUILD_TEAMTALK_CORE)
if (BUILD_TEAMTALK5DLL)
if (BUILD_TEAMTALK_LIBRARIES AND BUILD_TEAMTALK_LIBRARY_JNI)
add_dependencies (TeamTalk5-jni TeamTalk5DLL)
endif()
if (BUILD_TEAMTALK_CLIENTS AND BUILD_TEAMTALK_CLIENT_LOG_EXAMPLE)
add_dependencies (ttserverlog TeamTalk5DLL)
endif()
endif()
if (BUILD_TEAMTALK5PRODLL)
if (BUILD_TEAMTALK_LIBRARIES AND BUILD_TEAMTALKPRO_LIBRARY_JNI)
add_dependencies (TeamTalk5Pro-jni TeamTalk5ProDLL)
endif()
if (BUILD_TEAMTALKPRO_SERVERS AND BUILD_TEAMTALKPRO_SERVER_EXAMPLE)
add_dependencies (TeamTalk5ProServer TeamTalk5ProDLL)
endif()
if (BUILD_TEAMTALK_CLIENTS AND BUILD_TEAMTALKPRO_CLIENT_LOG_EXAMPLE)
add_dependencies (ttproserverlog TeamTalk5ProDLL)
endif()
endif()
endif()
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
C++
1
https://gitee.com/tredy6t/TeamTalk5.git
[email protected]:tredy6t/TeamTalk5.git
tredy6t
TeamTalk5
TeamTalk5
master

搜索帮助