forked from EasyIME/libIME
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
56 lines (52 loc) · 1.83 KB
/
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
cmake_minimum_required(VERSION 2.8.8)
project(libIME)
# http://www.utf8everywhere.org/
add_definitions(
/D_UNICODE=1
/DUNICODE=1
)
add_library(libIME_static STATIC
# Core TSF part
${PROJECT_SOURCE_DIR}/ImeModule.cpp
${PROJECT_SOURCE_DIR}/ImeModule.h
${PROJECT_SOURCE_DIR}/libIME.cpp
${PROJECT_SOURCE_DIR}/libIME.h
${PROJECT_SOURCE_DIR}/TextService.cpp
${PROJECT_SOURCE_DIR}/TextService.h
${PROJECT_SOURCE_DIR}/KeyEvent.cpp
${PROJECT_SOURCE_DIR}/KeyEvent.h
${PROJECT_SOURCE_DIR}/EditSession.cpp
${PROJECT_SOURCE_DIR}/EditSession.h
${PROJECT_SOURCE_DIR}/DisplayAttributeInfo.cpp
${PROJECT_SOURCE_DIR}/DisplayAttributeInfo.h
${PROJECT_SOURCE_DIR}/DisplayAttributeInfoEnum.cpp
${PROJECT_SOURCE_DIR}/DisplayAttributeInfoEnum.h
${PROJECT_SOURCE_DIR}/DisplayAttributeProvider.cpp
${PROJECT_SOURCE_DIR}/DisplayAttributeProvider.h
${PROJECT_SOURCE_DIR}/LangBarButton.cpp
${PROJECT_SOURCE_DIR}/LangBarButton.h
${PROJECT_SOURCE_DIR}/Utils.cpp
${PROJECT_SOURCE_DIR}/Utils.h
${PROJECT_SOURCE_DIR}/ComPtr.h
${PROJECT_SOURCE_DIR}/WindowsVersion.h
# GUI-related code
${PROJECT_SOURCE_DIR}/DrawUtils.h
${PROJECT_SOURCE_DIR}/DrawUtils.cpp
${PROJECT_SOURCE_DIR}/Window.cpp
${PROJECT_SOURCE_DIR}/Window.h
# ${PROJECT_SOURCE_DIR}/Dialog.cpp
# ${PROJECT_SOURCE_DIR}/Dialog.h
# ${PROJECT_SOURCE_DIR}/PropertyDialog.cpp
# ${PROJECT_SOURCE_DIR}/PropertyDialog.h
# ${PROJECT_SOURCE_DIR}/PropertyPage.cpp
# ${PROJECT_SOURCE_DIR}/PropertyPage.h
${PROJECT_SOURCE_DIR}/ImeWindow.cpp
${PROJECT_SOURCE_DIR}/ImeWindow.h
${PROJECT_SOURCE_DIR}/MessageWindow.cpp
${PROJECT_SOURCE_DIR}/MessageWindow.h
${PROJECT_SOURCE_DIR}/CandidateWindow.h
${PROJECT_SOURCE_DIR}/CandidateWindow.cpp
)
target_link_libraries(libIME_static
shlwapi.lib
)