forked from duilib/duilib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
33 lines (25 loc) · 863 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# CMake root file for duilib related apps
#Date 2012-09-16
#Author: Qi Gao([email protected])
#
# CMake files for duilib
# file for each app is under the related sub-dir
#
cmake_minimum_required(VERSION 2.8)
project(dui)
option(DUILIB_BUILD_EXAMPLES "Build examples" OFF)
message(STATUS," CMake project files for duilib")
# this line is for UNICODE release,which is required by DuiDesigner
add_definitions(-DUNICODE -D_UNICODE)
# add each CMake file
add_subdirectory(duilib)
if (DUILIB_BUILD_EXAMPLES)
add_subdirectory(360SafeDemo)
add_subdirectory(FlashDemo)
add_subdirectory(GameDemo)
add_subdirectory(ListDemo)
# add_subdirectory(MenuDemo) the sources in this project has error
add_subdirectory(QQDemo)
add_subdirectory(RichListDemo)
endif()
install(FILES ${PROJECT_SOURCE_DIR}/LICENSE DESTINATION share/${PROJECT_NAME})