[CDROM_NEW]
[reactos.git] / reactos / drivers / storage / class / cdrom_new / CMakeLists.txt
1 include_directories(..)
2
3 list(APPEND SOURCE
4 cdrom.c
5 data.c
6 ioctl.c
7 mmc.c
8 sec.c)
9
10 add_library(cdrom_new SHARED ${SOURCE})
11
12 target_link_libraries(cdrom_new libcntpr wdmguid)
13
14 if(ARCH STREQUAL "i386")
15 # FIXME: http://www.cmake.org/Bug/view.php?id=12998
16 if(NOT MSVC)
17 #add_target_compile_flags(cdrom_new "-Wno-format -Wno-unused-variable -Wno-pointer-sign")
18 set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-format -Wno-unused-variable -Wno-pointer-sign")
19 endif()
20 endif()
21
22 set_module_type(cdrom_new kernelmodedriver)
23 add_importlibs(cdrom_new classpnp ntoskrnl hal)