Oups, forgot to link against advapi32 too (for registry functions) xD
[reactos.git] / subsystems / ntvdm / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/fast486)
3
4 spec2def(ntvdm.exe ntvdm.spec)
5
6 list(APPEND SOURCE
7 bios.c
8 bop.c
9 cmos.c
10 dos.c
11 emulator.c
12 int32.c
13 io.c
14 pic.c
15 ps2.c
16 registers.c
17 speaker.c
18 timer.c
19 vddsup.c
20 vga.c
21 ntvdm.c
22 ntvdm.rc
23 ${CMAKE_CURRENT_BINARY_DIR}/ntvdm.def)
24
25 add_executable(ntvdm ${SOURCE})
26 set_module_type(ntvdm win32cui UNICODE)
27 target_link_libraries(ntvdm fast486)
28 add_importlibs(ntvdm user32 gdi32 advapi32 msvcrt kernel32 ntdll)
29 add_cd_file(TARGET ntvdm DESTINATION reactos/system32 FOR all)