src/gba/CMakeLists.txt (view raw)
1include(ExportDirectory)
2set(SOURCE_FILES
3 ../gb/audio.c
4 audio.c
5 bios.c
6 cheats.c
7 cheats/codebreaker.c
8 cheats/gameshark.c
9 cheats/parv3.c
10 core.c
11 dma.c
12 ereader.c
13 gba.c
14 hardware.c
15 hle-bios.c
16 input.c
17 io.c
18 matrix.c
19 memory.c
20 overrides.c
21 renderers/cache-set.c
22 renderers/common.c
23 renderers/gl.c
24 renderers/software-bg.c
25 renderers/software-mode0.c
26 renderers/software-obj.c
27 renderers/video-software.c
28 savedata.c
29 serialize.c
30 sharkport.c
31 sio.c
32 timer.c
33 vfame.c
34 video.c)
35
36set(SIO_FILES
37 sio/joybus.c
38 sio/lockstep.c)
39
40set(EXTRA_FILES
41 extra/audio-mixer.c
42 extra/battlechip.c
43 extra/proxy.c)
44
45set(DEBUGGER_FILES
46 debugger/cli.c)
47
48set(TEST_FILES
49 test/cheats.c
50 test/core.c)
51
52source_group("GBA board" FILES ${SOURCE_FILES})
53source_group("GBA extras" FILES ${EXTRA_FILES} ${SIO_FILES})
54source_group("GBA debugger" FILES ${DEBUGGER_FILES})
55source_group("GBA tests" FILES ${TEST_FILES})
56
57export_directory(GBA SOURCE_FILES)
58export_directory(GBA_SIO SIO_FILES)
59export_directory(GBA_EXTRA EXTRA_FILES)
60export_directory(GBA_DEBUGGER DEBUGGER_FILES)
61export_directory(GBA_TEST TEST_FILES)