mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:35:47 +00:00
[CMAKE]
- Add fastfat and isapnp to build. svn path=/branches/cmake-bringup/; revision=48696
This commit is contained in:
parent
cf6293b311
commit
7ff72cbf64
4 changed files with 55 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
|
||||
add_subdirectory(acpi)
|
||||
|
||||
add_subdirectory(isapnp)
|
||||
|
|
17
drivers/bus/isapnp/CMakeLists.txt
Normal file
17
drivers/bus/isapnp/CMakeLists.txt
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
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(isapnp SHARED
|
||||
isapnp.c
|
||||
pdo.c
|
||||
fdo.c
|
||||
hardware.c
|
||||
isapnp.rc)
|
||||
|
||||
set_target_properties(isapnp PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
||||
|
||||
target_link_libraries(isapnp
|
||||
${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
|
||||
${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a)
|
||||
|
||||
add_dependencies(isapnp psdk bugcodes)
|
|
@ -1,2 +1,3 @@
|
|||
|
||||
add_subdirectory(cdfs)
|
||||
add_subdirectory(fastfat)
|
||||
|
|
36
drivers/filesystems/fastfat/CMakeLists.txt
Normal file
36
drivers/filesystems/fastfat/CMakeLists.txt
Normal file
|
@ -0,0 +1,36 @@
|
|||
|
||||
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>")
|
||||
|
||||
list(APPEND SOURCE
|
||||
blockdev.c
|
||||
cleanup.c
|
||||
close.c
|
||||
create.c
|
||||
dir.c
|
||||
direntry.c
|
||||
dirwr.c
|
||||
ea.c
|
||||
fat.c
|
||||
fastio.c
|
||||
fcb.c
|
||||
finfo.c
|
||||
flush.c
|
||||
fsctl.c
|
||||
iface.c
|
||||
misc.c
|
||||
rw.c
|
||||
shutdown.c
|
||||
string.c
|
||||
volume.c
|
||||
vfatfs.rc)
|
||||
|
||||
add_library(fastfat SHARED ${CMAKE_CURRENT_BINARY_DIR}/fastfat_vfat.h.gch ${SOURCE})
|
||||
|
||||
set_target_properties(fastfat PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
||||
|
||||
target_link_libraries(fastfat
|
||||
${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
|
||||
${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a)
|
||||
|
||||
add_pch(fastfat ${CMAKE_CURRENT_SOURCE_DIR}/vfat.h ${SOURCE})
|
||||
add_dependencies(fastfat psdk bugcodes)
|
Loading…
Add table
Add a link
Reference in a new issue