reactos/sdk/lib/drivers/hidparser/CMakeLists.txt
jimtabor b3b40b35c9 [HIDParser] Fix MSVC build
Attempt to fix build for MSVC.
This effected local build GCC system with newer Ninja version. Not sure
if this has an effect.
2019-05-02 14:33:07 -05:00

20 lines
383 B
CMake

add_definitions(-DUNICODE -D_UNICODE)
list(APPEND SOURCE
context.c
hidparser.c
parser.c
api.c
parser.h
hidp.c
hidp.h)
add_library(hidparser_um ${SOURCE})
add_importlibs(hidparser_um ntdll)
add_dependencies(hidparser_um bugcodes xdk)
add_library(hidparser_km ${SOURCE})
add_importlibs(hidparser_km ntoskrnl)
add_dependencies(hidparser_km bugcodes xdk)