reactos/subsystems/ntvdm/CMakeLists.txt
Hermès Bélusca-Maïto 679980a06c [NTVDM]
- BIOS location must be aligned on 32bit boundaries (or 16, I have to check). This fixes BIOS images loading when they miss a (null) byte to make them (e.g.) 8192 bytes long (example: the BIOS image of windows ntvdm).
- Add useful alignment (and others) macros.

svn path=/branches/ntvdm/; revision=62312
2014-02-23 20:40:09 +00:00

38 lines
818 B
CMake

include_directories(
${REACTOS_SOURCE_DIR}/include/reactos/libs/fast486
ntvdm)
spec2def(ntvdm.exe ntvdm.spec)
list(APPEND SOURCE
bios/bios32/bios32.c
bios/bios32/kbdbios32.c
bios/bios32/vidbios32.c
bios/bios.c
hardware/cmos.c
hardware/pic.c
hardware/ps2.c
hardware/speaker.c
hardware/timer.c
hardware/vga.c
dos/dos32krnl/bios.c
dos/dos32krnl/dos.c
dos/dem.c
bop.c
callback.c
clock.c
emulator.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)