all repos — mgba @ f6755a6e1b7b0cf2b944cd8ca842746f11d6bf82

mGBA Game Boy Advance Emulator

src/gb/CMakeLists.txt (view raw)

 1include(ExportDirectory)
 2set(SOURCE_FILES
 3	audio.c
 4	cheats.c
 5	core.c
 6	gb.c
 7	io.c
 8	mbc.c
 9	memory.c
10	overrides.c
11	serialize.c
12	renderers/cache-set.c
13	renderers/software.c
14	sio.c
15	timer.c
16	video.c)
17
18set(SIO_FILES
19	sio/lockstep.c
20	sio/printer.c)
21
22set(EXTRA_FILES
23	extra/proxy.c)
24
25set(DEBUGGER_FILES
26	debugger/cli.c
27	debugger/debugger.c
28	debugger/symbols.c)
29
30set(TEST_FILES
31	test/core.c
32	test/mbc.c
33	test/memory.c
34	test/rtc.c)
35
36source_group("GB board" FILES ${SOURCE_FILES})
37source_group("GB extras" FILES ${EXTRA_FILES} ${SIO_FILES})
38source_group("GB debugger" FILES ${DEBUGGER_FILES})
39source_group("GB tests" FILES ${TEST_FILES})
40
41export_directory(GB SOURCE_FILES)
42export_directory(GB_SIO SIO_FILES)
43export_directory(GB_EXTRA EXTRA_FILES)
44export_directory(GB_DEBUGGER DEBUGGER_FILES)
45export_directory(GB_TEST TEST_FILES)