mirror of
https://github.com/reactos/reactos.git
synced 2024-09-10 21:04:26 +00:00
![Hermès Bélusca-Maïto](/assets/img/avatar_default.png)
Finish my Interruption revamp. - Move interrupt-related code from bop.c to int32.c - Introduce InitializeInt32 helper so that one can initialize all the needed 16-bit stubs for the 32-bit interrupts. - Remove unneeded defines in emulator.h and an exported variable in ntvdm.h. svn path=/branches/ntvdm/; revision=60908
28 lines
564 B
CMake
28 lines
564 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/fast486)
|
|
|
|
spec2def(ntvdm.exe ntvdm.spec)
|
|
|
|
list(APPEND SOURCE
|
|
bios.c
|
|
bop.c
|
|
cmos.c
|
|
dos.c
|
|
emulator.c
|
|
int32.c
|
|
pic.c
|
|
ps2.c
|
|
registers.c
|
|
speaker.c
|
|
timer.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 fast486)
|
|
add_importlibs(ntvdm msvcrt user32 gdi32 kernel32 ntdll)
|
|
add_cd_file(TARGET ntvdm DESTINATION reactos/system32 FOR all)
|