mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 18:33:10 +00:00
[CMAKE]
- Add atapi, blue, cdfs and uniata to build. svn path=/branches/cmake-bringup/; revision=48693
This commit is contained in:
parent
abf5238858
commit
dc95036f5a
9 changed files with 91 additions and 0 deletions
|
@ -1,2 +1,3 @@
|
|||
|
||||
add_subdirectory(ide)
|
||||
add_subdirectory(scsiport)
|
||||
|
|
3
drivers/storage/ide/CMakeLists.txt
Normal file
3
drivers/storage/ide/CMakeLists.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
|
||||
add_subdirectory(atapi)
|
||||
add_subdirectory(uniata)
|
12
drivers/storage/ide/atapi/CMakeLists.txt
Normal file
12
drivers/storage/ide/atapi/CMakeLists.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
|
||||
set(CMAKE_C_CREATE_SHARED_LIBRARY "<CMAKE_C_COMPILER> <CMAKE_SHARED_LIBRARY_C_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_C_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
|
||||
|
||||
add_library(atapi SHARED atapi.c atapi.rc)
|
||||
|
||||
set_target_properties(atapi PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
||||
|
||||
target_link_libraries(atapi
|
||||
-lscsiport
|
||||
libcntpr)
|
||||
|
||||
add_dependencies(atapi psdk bugcodes)
|
25
drivers/storage/ide/uniata/CMakeLists.txt
Normal file
25
drivers/storage/ide/uniata/CMakeLists.txt
Normal file
|
@ -0,0 +1,25 @@
|
|||
|
||||
set(CMAKE_CXX_CREATE_SHARED_LIBRARY "<CMAKE_CXX_COMPILER> <CMAKE_SHARED_LIBRARY_CXX_FLAGS> <LINK_FLAGS> <CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> -o <TARGET> <OBJECTS> <LINK_LIBRARIES>")
|
||||
|
||||
include_directories(inc)
|
||||
|
||||
add_library(uniata SHARED
|
||||
id_ata.cpp
|
||||
id_badblock.cpp
|
||||
id_dma.cpp
|
||||
id_init.cpp
|
||||
id_probe.cpp
|
||||
id_queue.cpp
|
||||
id_sata.cpp
|
||||
idedma.rc
|
||||
ros_glue/ros_glue.cpp)
|
||||
|
||||
set_target_properties(uniata PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
||||
|
||||
target_link_libraries(uniata
|
||||
${REACTOS_SOURCE_DIR}/drivers/storage/scsiport/libscsiport.a
|
||||
${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
|
||||
${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a
|
||||
-lgcc)
|
||||
|
||||
add_dependencies(uniata psdk bugcodes buildno_header)
|
Loading…
Add table
Add a link
Reference in a new issue