mirror of
https://github.com/reactos/reactos.git
synced 2025-06-25 09:19:44 +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
2
drivers/filesystems/CMakeLists.txt
Normal file
2
drivers/filesystems/CMakeLists.txt
Normal file
|
@ -0,0 +1,2 @@
|
|||
|
||||
add_subdirectory(cdfs)
|
30
drivers/filesystems/cdfs/CMakeLists.txt
Normal file
30
drivers/filesystems/cdfs/CMakeLists.txt
Normal file
|
@ -0,0 +1,30 @@
|
|||
|
||||
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>")
|
||||
|
||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
|
||||
|
||||
list(APPEND SOURCE
|
||||
cdfs.c
|
||||
cleanup.c
|
||||
close.c
|
||||
common.c
|
||||
create.c
|
||||
dirctl.c
|
||||
fcb.c
|
||||
finfo.c
|
||||
fsctl.c
|
||||
misc.c
|
||||
rw.c
|
||||
volinfo.c
|
||||
cdfs.rc)
|
||||
|
||||
add_library(cdfs SHARED ${CMAKE_CURRENT_BINARY_DIR}/cdfs_cdfs.h.gch ${SOURCE})
|
||||
|
||||
set_target_properties(cdfs PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
||||
|
||||
target_link_libraries(cdfs
|
||||
${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
|
||||
${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a)
|
||||
|
||||
add_pch(cdfs ${CMAKE_CURRENT_SOURCE_DIR}/cdfs.h ${SOURCE})
|
||||
add_dependencies(cdfs psdk bugcodes)
|
Loading…
Add table
Add a link
Reference in a new issue