mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
[CMAKE]
- Add floppy to build. svn path=/branches/cmake-bringup/; revision=48697
This commit is contained in:
parent
7ff72cbf64
commit
1d2ab448d9
2 changed files with 20 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
|
|
||||||
add_subdirectory(class)
|
add_subdirectory(class)
|
||||||
|
add_subdirectory(floppy)
|
||||||
add_subdirectory(ide)
|
add_subdirectory(ide)
|
||||||
add_subdirectory(port)
|
add_subdirectory(port)
|
||||||
add_subdirectory(scsiport)
|
add_subdirectory(scsiport)
|
||||||
|
|
19
drivers/storage/floppy/CMakeLists.txt
Normal file
19
drivers/storage/floppy/CMakeLists.txt
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
|
||||||
|
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(floppy SHARED
|
||||||
|
csqrtns.c
|
||||||
|
floppy.c
|
||||||
|
hardware.c
|
||||||
|
ioctl.c
|
||||||
|
readwrite.c
|
||||||
|
floppy.rc)
|
||||||
|
|
||||||
|
set_target_properties(floppy PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
|
||||||
|
|
||||||
|
target_link_libraries(floppy
|
||||||
|
csq
|
||||||
|
${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
|
||||||
|
${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a)
|
||||||
|
|
||||||
|
add_dependencies(floppy psdk bugcodes buildno_header)
|
Loading…
Reference in a new issue