mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 10:30:59 +00:00
c98977184f
- Start to refactor the DOS sources: Introduce the DEM (DOS Emulation) support library that is used by our built-in DOS, and that is used (via BOPs) by windows NT DOS (files: ntio.sys and ntdos.sys). - Export some of DEM functions; stub most of them and implement the remaining ones (with existing code that we had in dos.c before). svn path=/branches/ntvdm/; revision=61838
35 lines
731 B
CMake
35 lines
731 B
CMake
|
|
include_directories(
|
|
${REACTOS_SOURCE_DIR}/include/reactos/libs/fast486
|
|
ntvdm)
|
|
|
|
spec2def(ntvdm.exe ntvdm.spec)
|
|
|
|
list(APPEND SOURCE
|
|
bios/bios.c
|
|
bios/kbdbios.c
|
|
bios/vidbios.c
|
|
hardware/cmos.c
|
|
hardware/pic.c
|
|
hardware/ps2.c
|
|
hardware/speaker.c
|
|
hardware/timer.c
|
|
hardware/vga.c
|
|
dos/dos32/dos.c
|
|
dos/dem.c
|
|
bop.c
|
|
emulator.c
|
|
int32.c
|
|
io.c
|
|
registers.c
|
|
vddsup.c
|
|
ntvdm.c
|
|
ntvdm.rc
|
|
${CMAKE_CURRENT_BINARY_DIR}/ntvdm.def)
|
|
|
|
add_executable(ntvdm ${SOURCE})
|
|
set_module_type(ntvdm win32cui UNICODE)
|
|
target_link_libraries(ntvdm fast486)
|
|
add_importlibs(ntvdm user32 gdi32 advapi32 msvcrt kernel32 ntdll)
|
|
add_cd_file(TARGET ntvdm DESTINATION reactos/system32 FOR all)
|