Added AHCI_Global_HBA_CAP_S64A support
[reactos.git] / drivers / storage / storahci / CMakeLists.txt
1
2 set_cpp()
3
4 include_directories(
5 BEFORE ${CMAKE_CURRENT_SOURCE_DIR}
6 inc)
7
8 #add_definitions(-DDEBUG)
9
10 list(APPEND SOURCE
11 storahci.cpp
12 ros_glue/ros_glue.cpp
13 stdafx.h)
14
15 add_library(storahci SHARED ${SOURCE} storahci.rc)
16
17 if(NOT MSVC)
18 add_target_compile_flags(storahci "-Wno-narrowing")
19 if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
20 add_target_compile_flags(storahci "-Wno-unused-but-set-variable")
21 endif()
22 endif()
23
24 add_pch(storahci stdafx.h SOURCE)
25 set_module_type(storahci kernelmodedriver)
26 add_importlibs(storahci storport ntoskrnl hal)
27 add_cd_file(TARGET storahci DESTINATION reactos/system32/drivers NO_CAB FOR all)
28 add_registry_inf(storahci.inf)