5 BEFORE ${CMAKE_CURRENT_SOURCE_DIR}
8 #add_definitions(-DDEBUG)
15 add_library(storahci SHARED ${SOURCE} storahci.rc)
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")
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)