mirror of
https://github.com/reactos/reactos.git
synced 2024-08-04 02:20:54 +00:00
022895e518
Synchronize with trunk again to fix important bugs in the build system. Implement register control functions which should be exported (Adapted from a patch by Hermes Belusca-Maito). The actual export is temporarily disabled because a bug in the build system compiles ntvdm as a DLL instead of an EXE. svn path=/branches/ntvdm/; revision=59684
25 lines
560 B
CMake
25 lines
560 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/softx86)
|
|
|
|
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)
|
|
add_importlibs(ntvdm msvcrt user32 kernel32 ntdll)
|
|
add_dependencies(ntvdm softx86 softx87)
|
|
add_cd_file(TARGET ntvdm DESTINATION reactos/system32 FOR all)
|