reactos/drivers/storage/class/cdrom_new/CMakeLists.txt

25 lines
648 B
Text
Raw Normal View History

include_directories(${REACTOS_SOURCE_DIR}/drivers/storage/class)
list(APPEND SOURCE
cdrom.c
data.c
ioctl.c
mmc.c
sec.c
cdrom.h)
add_library(cdrom_new MODULE ${SOURCE})
target_link_libraries(cdrom_new libcntpr wdmguid)
if(USE_CLANG_CL OR (NOT MSVC))
target_compile_options(cdrom_new PRIVATE -Wno-format -Wno-unused-variable -Wno-pointer-sign)
if(USE_CLANG_CL)
target_compile_options(cdrom_new PRIVATE -Wno-enum-conversion -Wno-tautological-constant-compare)
endif()
endif()
set_module_type(cdrom_new kernelmodedriver)
add_importlibs(cdrom_new classpnp ntoskrnl hal)
add_pch(cdrom_new cdrom.h SOURCE)