mirror of
https://github.com/reactos/reactos.git
synced 2024-10-05 08:54:40 +00:00
dcf485d6f3
Added AhciProcessIO Added RC file Added CMAKE file And Some fixes svn path=/branches/GSoC_2016/AHCI/; revision=71641
29 lines
687 B
CMake
29 lines
687 B
CMake
|
|
set_cpp()
|
|
|
|
include_directories(
|
|
BEFORE ${CMAKE_CURRENT_SOURCE_DIR}
|
|
inc)
|
|
|
|
#add_definitions(-DDEBUG)
|
|
|
|
list(APPEND SOURCE
|
|
storahci.cpp
|
|
ros_glue/ros_glue.cpp
|
|
stdafx.h)
|
|
|
|
add_library(storahci SHARED ${SOURCE} storahci.rc)
|
|
|
|
if(NOT MSVC)
|
|
add_target_compile_flags(storahci "-Wno-narrowing")
|
|
if(NOT CMAKE_C_COMPILER_ID STREQUAL "Clang")
|
|
add_target_compile_flags(storahci "-Wno-unused-but-set-variable")
|
|
endif()
|
|
endif()
|
|
|
|
add_pch(storahci stdafx.h SOURCE)
|
|
set_module_type(storahci kernelmodedriver)
|
|
add_importlibs(storahci storport ntoskrnl hal)
|
|
add_cd_file(TARGET storahci DESTINATION reactos/system32/drivers NO_CAB FOR all)
|
|
add_registry_inf(storahci.inf)
|