Fix include name for the ncursesw library
[centerim5.git] / cppconsui / CMakeLists.txt
blob863f48111e770feb73ef9a811f6d029a6b41069f
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
39   libtermkey/driver-csi.c
40   libtermkey/driver-ti.c
41   libtermkey/termkey.c)
43 add_library(cppconsui SHARED ${cppconsui_SOURCES})
45 set_property(TARGET cppconsui
46   PROPERTY VERSION 0.0.0)
47 target_compile_options(cppconsui PRIVATE
48   ${SIGC_CFLAGS} ${NCURSESW_CFLAGS} "-DG_LOG_DOMAIN=\"cppconsui\"")
49 target_link_libraries(cppconsui PRIVATE
50   ${SIGC_LDFLAGS} ${NCURSESW_LDFLAGS})
52 install(TARGETS cppconsui DESTINATION lib)