代码拉取完成,页面将自动刷新
# CMake root file for duilib related apps
#Date 2012-09-16
#Author: Qi Gao([email protected])
#modify lei liu([email protected] 20240109)
# CMake files for duilib
# file for each app is under the related sub-dir
#
cmake_minimum_required(VERSION 2.8)
project(dui)
message(STATUS," CMake project files for duilib")
# this line is for UNICODE release,which is required by DuiDesigner
# option use UNICODE ,default is true
option(UNICODE "use unicode mode" OFF)
option(UILIB_STATIC "use static duilib" OFF)
option(MT "user runtime mt mode" OFF)
if(UNICODE)
add_definitions(-DUNICODE -D_UNICODE)
endif()
#BUILD_SHARED_LIBS global add_library type shared or static
if(UILIB_STATIC)
add_definitions(-DUILIB_STATIC)
set(BUILD_SHARED_LIBS NO)
else(UILIB_STATIC)
set(BUILD_SHARED_LIBS YES)
endif()
if(CMAKE_CL_64)
set(CURRENT_PLATFORM "x64")
else(CMAKE_CL_64)
set(CURRENT_PLATFORM "x86")
endif(CMAKE_CL_64)
message(STATUS "Current Platform is ${CURRENT_PLATFORM}")
if(MT)
#set_property(TARGET duilib PROPERTY
#MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>")
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} /MT")
set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} /MTd")
endif()
# set the output path for the libraries
set(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
set(EXECUTABLE_OUTPUT_PATH ${PROJECT_BINARY_DIR}/bin)
# add each CMake file
add_subdirectory(duilib)
add_subdirectory(TestApp1)
add_subdirectory(VirtualListDemo)
add_subdirectory(PopupUIDemo)
add_subdirectory(MenuDemo)
add_subdirectory(LayeredDemo)
#add_subdirectory(ScrCapture)
#add_subdirectory(FlashDemo)
add_subdirectory(360SafeDemo)
add_subdirectory(QQDemo)
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。