[NTVDM]
[reactos.git] / reactos / subsystems / ntvdm / CMakeLists.txt
1
2 include_directories(
3 ${REACTOS_SOURCE_DIR}/include/reactos/libs/fast486
4 ntvdm)
5
6 spec2def(ntvdm.exe ntvdm.spec)
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 hardware/cmos.c
21 hardware/keyboard.c
22 hardware/mouse.c
23 hardware/pic.c
24 hardware/ps2.c
25 hardware/speaker.c
26 hardware/timer.c
27 hardware/vga.c
28 dos/dos32krnl/bios.c
29 dos/dos32krnl/dos.c
30 dos/dos32krnl/dosfiles.c
31 dos/mouse32.c
32 dos/dem.c
33 clock.c
34 emulator.c
35 int32.c
36 io.c
37 registers.c
38 utils.c
39 vddsup.c
40 ntvdm.c
41 ntvdm.rc
42 ${CMAKE_CURRENT_BINARY_DIR}/ntvdm.def)
43
44 add_executable(ntvdm ${SOURCE})
45 set_module_type(ntvdm win32cui UNICODE)
46 set_image_base(ntvdm 0x0F000000)
47 target_link_libraries(ntvdm fast486)
48 add_importlibs(ntvdm user32 gdi32 advapi32 msvcrt kernel32 ntdll)
49 add_cd_file(TARGET ntvdm DESTINATION reactos/system32 FOR all)