mirror of
https://github.com/reactos/reactos.git
synced 2024-10-22 13:56:16 +00:00
005e1f0559
Start implementing a new emulator library to provide 386/486 emulation support to NTVDM and perhaps other components aswell. svn path=/branches/ntvdm/; revision=59752
26 lines
645 B
CMake
26 lines
645 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/softx86)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/soft386)
|
|
|
|
spec2def(ntvdm.exe ntvdm.spec)
|
|
|
|
list(APPEND SOURCE
|
|
bios.c
|
|
dos.c
|
|
emulator.c
|
|
pic.c
|
|
registers.c
|
|
timer.c
|
|
ps2.c
|
|
vga.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 softx86 softx87 soft386)
|
|
add_importlibs(ntvdm msvcrt user32 gdi32 kernel32 ntdll)
|
|
add_dependencies(ntvdm softx86 softx87)
|
|
add_cd_file(TARGET ntvdm DESTINATION reactos/system32 FOR all)
|