2014-02-03 10:39:05 +00:00
|
|
|
|
|
|
|
include_directories(${REACTOS_SOURCE_DIR}/drivers/storage/class)
|
2012-02-17 12:07:17 +00:00
|
|
|
|
2012-03-10 20:16:56 +00:00
|
|
|
list(APPEND SOURCE
|
|
|
|
cdrom.c
|
|
|
|
data.c
|
|
|
|
ioctl.c
|
|
|
|
mmc.c
|
2014-02-09 17:28:01 +00:00
|
|
|
sec.c
|
|
|
|
cdrom.h)
|
2012-03-10 20:16:56 +00:00
|
|
|
|
2019-03-20 13:19:48 +00:00
|
|
|
add_library(cdrom_new MODULE ${SOURCE})
|
2012-02-17 12:07:17 +00:00
|
|
|
target_link_libraries(cdrom_new libcntpr wdmguid)
|
2012-03-10 20:16:56 +00:00
|
|
|
|
2017-12-03 22:30:10 +00:00
|
|
|
if(USE_CLANG_CL OR (NOT MSVC))
|
2020-04-16 12:59:38 +00:00
|
|
|
target_compile_options(cdrom_new PRIVATE -Wno-format -Wno-unused-variable -Wno-pointer-sign)
|
2017-12-03 22:30:10 +00:00
|
|
|
if(USE_CLANG_CL)
|
2020-04-16 12:59:38 +00:00
|
|
|
target_compile_options(cdrom_new PRIVATE -Wno-enum-conversion -Wno-tautological-constant-compare)
|
2017-12-03 22:30:10 +00:00
|
|
|
endif()
|
2012-02-17 12:07:17 +00:00
|
|
|
endif()
|
|
|
|
|
|
|
|
set_module_type(cdrom_new kernelmodedriver)
|
|
|
|
add_importlibs(cdrom_new classpnp ntoskrnl hal)
|
2014-02-09 17:28:01 +00:00
|
|
|
add_pch(cdrom_new cdrom.h SOURCE)
|