92b03b43a828a8176ac2e90179b139bc34747dd3
[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 hardware/cmos.c
18 hardware/keyboard.c
19 hardware/mouse.c
20 hardware/pic.c
21 hardware/ps2.c
22 hardware/speaker.c
23 hardware/timer.c
24 hardware/vga.c
25 dos/dos32krnl/bios.c
26 dos/dos32krnl/dos.c
27 dos/dos32krnl/dosfiles.c
28 dos/mouse32.c
29 dos/dem.c
30 bop.c
31 callback.c
32 clock.c
33 emulator.c
34 io.c
35 registers.c
36 utils.c
37 vddsup.c
38 ntvdm.c
39 ntvdm.rc
40 ${CMAKE_CURRENT_BINARY_DIR}/ntvdm.def)
41
42 add_executable(ntvdm ${SOURCE})
43 set_module_type(ntvdm win32cui UNICODE)
44 set_image_base(ntvdm 0x0F000000)
45 target_link_libraries(ntvdm fast486)
46 add_importlibs(ntvdm user32 gdi32 advapi32 msvcrt kernel32 ntdll)
47 add_cd_file(TARGET ntvdm DESTINATION reactos/system32 FOR all)