[FDEBUG][CMIDRIVER] Add missing psdk dependency for user-mode code.

This commit is contained in:
Hermès Bélusca-Maïto 2022-02-11 14:33:02 +01:00
parent b5c9d532e8
commit f73c0e08e2
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
3 changed files with 4 additions and 0 deletions

View file

@ -1,5 +1,6 @@
add_executable(fdebug fdebug.c rs232.c fdebug.rc) add_executable(fdebug fdebug.c rs232.c fdebug.rc)
add_dependencies(fdebug psdk)
set_module_type(fdebug win32gui UNICODE) set_module_type(fdebug win32gui UNICODE)
add_importlibs(fdebug comdlg32 user32 gdi32 msvcrt kernel32) add_importlibs(fdebug comdlg32 user32 gdi32 msvcrt kernel32)
add_cd_file(TARGET fdebug DESTINATION loader NO_CAB NOT_IN_HYBRIDCD FOR bootcd livecd hybridcd) add_cd_file(TARGET fdebug DESTINATION loader NO_CAB NOT_IN_HYBRIDCD FOR bootcd livecd hybridcd)

View file

@ -7,6 +7,8 @@ if(NOT MSVC)
set_source_files_properties(main.cpp PROPERTIES COMPILE_FLAGS "-Wno-write-strings") set_source_files_properties(main.cpp PROPERTIES COMPILE_FLAGS "-Wno-write-strings")
endif() endif()
add_dependencies(cmicontrol psdk)
add_importlibs(cmicontrol user32 gdi32 ole32 advapi32 comctl32 shell32 dsound setupapi winmm msvcrt kernel32) add_importlibs(cmicontrol user32 gdi32 ole32 advapi32 comctl32 shell32 dsound setupapi winmm msvcrt kernel32)
set_module_type(cmicontrol win32gui) set_module_type(cmicontrol win32gui)
add_cd_file(TARGET cmicontrol DESTINATION reactos/system32/drivers FOR all) add_cd_file(TARGET cmicontrol DESTINATION reactos/system32/drivers FOR all)

View file

@ -4,6 +4,7 @@ add_library(cmicpl MODULE
cmicpl.cpp cmicpl.cpp
cmicpl.rc) cmicpl.rc)
add_dependencies(cmicpl psdk)
set_module_type(cmicpl cpl UNICODE) set_module_type(cmicpl cpl UNICODE)
add_importlibs(cmicpl shell32 msvcrt kernel32) add_importlibs(cmicpl shell32 msvcrt kernel32)
add_cd_file(TARGET cmicpl DESTINATION reactos/system32/drivers FOR all) add_cd_file(TARGET cmicpl DESTINATION reactos/system32/drivers FOR all)