[NTVDM]
[reactos.git] / reactos / subsystems / mvdm / ntvdm / CMakeLists.txt
1
2 PROJECT(NTVDM)
3
4 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/fast486)
5
6 spec2def(ntvdm.exe ntvdm.spec ADD_IMPORTLIB)
7
8 list(APPEND SOURCE
9 bios/bios32/bios32.c
10 bios/bios32/kbdbios32.c
11 bios/bios32/vidbios32.c
12 bios/bios32/moubios32.c
13 bios/bios.c
14 bios/kbdbios.c
15 bios/rom.c
16 bios/vidbios.c
17 cpu/bop.c
18 cpu/callback.c
19 cpu/cpu.c
20 cpu/registers.c
21 hardware/cmos.c
22 hardware/dma.c
23 hardware/keyboard.c
24 hardware/mouse.c
25 hardware/pic.c
26 hardware/pit.c
27 hardware/ps2.c
28 hardware/sound/speaker.c
29 hardware/video/vga.c
30 dos/dos32krnl/bios.c
31 dos/dos32krnl/condrv.c
32 dos/dos32krnl/device.c
33 dos/dos32krnl/dos.c
34 dos/dos32krnl/dosfiles.c
35 dos/dos32krnl/emsdrv.c
36 dos/dos32krnl/handle.c
37 dos/dos32krnl/himem.c
38 dos/dos32krnl/memory.c
39 dos/dos32krnl/process.c
40 dos/mouse32.c
41 dos/dem.c
42 clock.c
43 emulator.c
44 int32.c
45 io.c
46 memory.c
47 utils.c
48 vddsup.c
49 ntvdm.c
50 ntvdm.rc
51 ${CMAKE_CURRENT_BINARY_DIR}/ntvdm.def)
52
53 add_executable(ntvdm ${SOURCE})
54 set_module_type(ntvdm win32cui UNICODE IMAGEBASE 0x0F000000)
55 target_link_libraries(ntvdm fast486 ${PSEH_LIB})
56 add_importlibs(ntvdm user32 gdi32 advapi32 msvcrt kernel32 ntdll)
57 add_cd_file(TARGET ntvdm DESTINATION reactos/system32 FOR all)