reactos/subsystems/ntvdm/CMakeLists.txt
Hermès Bélusca-Maïto c98977184f [NTVDM]
- 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
2014-01-26 18:25:59 +00:00

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)