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 gba.c
13 hardware.c
14 hle-bios.c
15 input.c
16 io.c
17 matrix.c
18 memory.c
19 overrides.c
20 renderers/cache-set.c
21 renderers/common.c
22 renderers/gl.c
23 renderers/software-bg.c
24 renderers/software-mode0.c
25 renderers/software-obj.c
26 renderers/video-software.c
27 savedata.c
28 serialize.c
29 sharkport.c
30 sio.c
31 timer.c
32 vfame.c
33 video.c)
34
35set(SIO_FILES
36 sio/joybus.c
37 sio/lockstep.c)
38
39set(EXTRA_FILES
40 extra/audio-mixer.c
41 extra/battlechip.c
42 extra/proxy.c)
43
44set(DEBUGGER_FILES
45 debugger/cli.c)
46
47set(TEST_FILES
48 test/cheats.c
49 test/core.c)
50
51source_group("GBA board" FILES ${SOURCE_FILES})
52source_group("GBA extras" FILES ${EXTRA_FILES} ${SIO_FILES})
53source_group("GBA debugger" FILES ${DEBUGGER_FILES})
54source_group("GBA tests" FILES ${TEST_FILES})
55
56export_directory(GBA SOURCE_FILES)
57export_directory(GBA_SIO SIO_FILES)
58export_directory(GBA_EXTRA EXTRA_FILES)
59export_directory(GBA_DEBUGGER DEBUGGER_FILES)
60export_directory(GBA_TEST TEST_FILES)