0cc8df7c80e800413cca15ef0ab5b90009929f2b
[reactos.git] / reactos / drivers / storage / class / cdrom_new / CMakeLists.txt
1 include_directories(..)
2
3 add_library(cdrom_new SHARED cdrom.c data.c ioctl.c mmc.c sec.c)
4
5 target_link_libraries(cdrom_new libcntpr wdmguid)
6 if(ARCH MATCHES i386)
7 if(MSVC)
8 add_target_compile_flags(cdrom_new "/Gz")
9 else()
10 add_target_compile_flags(cdrom_new "-mrtd -fno-builtin -Wno-unused-variable -Wno-pointer-sign")
11 endif()
12 endif()
13
14 set_module_type(cdrom_new kernelmodedriver)
15 add_importlibs(cdrom_new classpnp ntoskrnl hal)