src/util/CMakeLists.txt (view raw)
1include(ExportDirectory)
2set(SOURCE_FILES
3 circle-buffer.c
4 configuration.c
5 crc32.c
6 elf-read.c
7 export.c
8 formatting.c
9 gbk-table.c
10 hash.c
11 patch.c
12 patch-fast.c
13 patch-ips.c
14 patch-ups.c
15 png-io.c
16 ring-fifo.c
17 string.c
18 table.c
19 text-codec.c
20 vfs.c)
21
22set(GUI_FILES
23 gui.c
24 gui/file-select.c
25 gui/font.c
26 gui/font-metrics.c
27 gui/menu.c)
28
29set(TEST_FILES
30 test/text-codec.c
31 test/vfs.c)
32
33source_group("Utilities" FILES ${SOURCE_FILES})
34source_group("GUI source" FILES ${GUI_FILES})
35source_group("Utilities tests" FILES ${TEST_FILES})
36
37export_directory(UTIL SOURCE_FILES)
38export_directory(GUI GUI_FILES)
39export_directory(UTIL_TEST TEST_FILES)