Update list of wide characters
[centerim5.git] / cppconsui / CMakeLists.txt
blobf1f2362776f847b9b8d01ef9eb6e98239fce86b0
1 # When you add files here, also add them in po/POTFILES.in.
2 set(cppconsui_SOURCES
3   AbstractDialog.cpp
4   AbstractLine.cpp
5   AbstractListBox.cpp
6   Button.cpp
7   CheckBox.cpp
8   ColorPicker.cpp
9   ColorPickerPalette.cpp
10   ColorPickerComboBox.cpp
11   ColorPickerDialog.cpp
12   ColorScheme.cpp
13   ConsUICurses.cpp
14   Container.cpp
15   ComboBox.cpp
16   CoreManager.cpp
17   CppConsUI.cpp
18   Dialog.cpp
19   HorizontalLine.cpp
20   HorizontalListBox.cpp
21   InputDialog.cpp
22   InputProcessor.cpp
23   Label.cpp
24   ListBox.cpp
25   KeyConfig.cpp
26   Keys.cpp
27   MenuWindow.cpp
28   MessageDialog.cpp
29   Panel.cpp
30   Spacer.cpp
31   SplitDialog.cpp
32   TextEdit.cpp
33   TextEntry.cpp
34   TextView.cpp
35   TreeView.cpp
36   VerticalLine.cpp
37   Widget.cpp
38   Window.cpp)
40 add_library(cppconsui SHARED ${cppconsui_SOURCES})
42 set_property(TARGET cppconsui
43   PROPERTY VERSION 0.0.0)
44 target_include_directories(cppconsui PRIVATE
45   ${Iconv_INCLUDE_DIRS} ${Intl_INCLUDE_DIRS})
46 target_compile_options(cppconsui PRIVATE
47   ${SIGC_CFLAGS} ${NCURSESW_CFLAGS} ${TERMKEY_CFLAGS}
48   "-DG_LOG_DOMAIN=\"cppconsui\"")
49 target_link_libraries(cppconsui PRIVATE
50   ${Iconv_LIBRARIES} ${Intl_LIBRARIES} ${SIGC_LDFLAGS} ${NCURSESW_LDFLAGS}
51   ${TERMKEY_LDFLAGS})
53 install(TARGETS cppconsui DESTINATION lib)