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 hash.c
10 patch.c
11 patch-fast.c
12 patch-ips.c
13 patch-ups.c
14 png-io.c
15 ring-fifo.c
16 string.c
17 table.c
18 text-codec.c
19 vfs.c)
20
21set(GUI_FILES
22 gui.c
23 gui/file-select.c
24 gui/font.c
25 gui/font-metrics.c
26 gui/menu.c)
27
28set(TEST_FILES
29 test/text-codec.c
30 test/vfs.c)
31
32source_group("Utilities" FILES ${SOURCE_FILES})
33source_group("GUI source" FILES ${GUI_FILES})
34source_group("Utilities tests" FILES ${TEST_FILES})
35
36export_directory(UTIL SOURCE_FILES)
37export_directory(GUI GUI_FILES)
38export_directory(UTIL_TEST TEST_FILES)