mirror of
https://github.com/reactos/reactos.git
synced 2024-11-09 16:20:37 +00:00
4f0b8d3db0
svn path=/branches/ntvdm/; revision=59241
27 lines
726 B
CMake
27 lines
726 B
CMake
include_directories(..)
|
|
|
|
list(APPEND SOURCE
|
|
data.c
|
|
disk.c
|
|
diskwmi.c
|
|
enum.c
|
|
geometry.c
|
|
part.c
|
|
pnp.c)
|
|
|
|
add_library(disk_new SHARED
|
|
${SOURCE}
|
|
disk.rc)
|
|
|
|
target_link_libraries(disk_new libcntpr wdmguid)
|
|
if(ARCH STREQUAL "i386")
|
|
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
|
|
if(NOT MSVC)
|
|
#add_target_compile_flags(disk_new "-Wno-error -Wno-format -Wno-pointer-sign")
|
|
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-error -Wno-format -Wno-pointer-sign")
|
|
endif()
|
|
endif()
|
|
|
|
set_module_type(disk_new kernelmodedriver)
|
|
add_importlibs(disk_new classpnp ntoskrnl hal)
|
|
add_cd_file(TARGET disk_new DESTINATION reactos/system32/drivers NO_CAB FOR all)
|