4 #####################################
5 # Generate the integrated COMMAND.COM
8 # Retrieve the full path to the generated file of the 'command' target
9 get_target_property(_command_com_file command LOCATION)
12 OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/command_com.c ${CMAKE_CURRENT_BINARY_DIR}/command_com.h
13 COMMAND native-bin2c ${_command_com_file} ${CMAKE_CURRENT_BINARY_DIR}/command_com.c ${CMAKE_CURRENT_BINARY_DIR}/command_com.h BIN CommandCom
14 DEPENDS native-bin2c command ${_command_com_file})
15 #####################################
17 include_directories(${REACTOS_SOURCE_DIR}/sdk/include/reactos/libs/fast486)
19 spec2def(ntvdm.exe ntvdm.spec ADD_IMPORTLIB)
23 bios/bios32/dskbios32.c
24 bios/bios32/kbdbios32.c
25 bios/bios32/moubios32.c
27 bios/bios32/vidbios32.c
46 hardware/sound/speaker.c
49 dos/dos32krnl/condrv.c
50 dos/dos32krnl/country.c
51 dos/dos32krnl/device.c
53 dos/dos32krnl/dosfiles.c
54 dos/dos32krnl/emsdrv.c
55 dos/dos32krnl/handle.c
57 dos/dos32krnl/memory.c
58 dos/dos32krnl/process.c
61 ${CMAKE_CURRENT_BINARY_DIR}/command_com.c
72 file(GLOB ntvdm_rc_deps res/*.*)
73 add_rc_deps(ntvdm.rc ${ntvdm_rc_deps})
78 ${CMAKE_CURRENT_BINARY_DIR}/ntvdm.def)
80 add_pch(ntvdm ntvdm.h SOURCE)
81 set_module_type(ntvdm win32cui UNICODE IMAGEBASE 0x0F000000)
82 target_link_libraries(ntvdm fast486 ${PSEH_LIB})
83 add_importlibs(ntvdm user32 gdi32 advapi32 comdlg32 msvcrt kernel32 ntdll)
84 add_cd_file(TARGET ntvdm DESTINATION reactos/system32 FOR all)