Author: akhaldi
Date: Sat Sep 4 14:14:45 2010
New Revision: 48697
URL:
http://svn.reactos.org/svn/reactos?rev=48697&view=rev
Log:
[CMAKE]
- Add floppy to build.
Added:
branches/cmake-bringup/drivers/storage/floppy/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/drivers/storage/CMakeLists.txt
Modified: branches/cmake-bringup/drivers/storage/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/storage/C…
==============================================================================
--- branches/cmake-bringup/drivers/storage/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/drivers/storage/CMakeLists.txt [iso-8859-1] Sat Sep 4 14:14:45
2010
@@ -1,5 +1,6 @@
add_subdirectory(class)
+add_subdirectory(floppy)
add_subdirectory(ide)
add_subdirectory(port)
add_subdirectory(scsiport)
Added: branches/cmake-bringup/drivers/storage/floppy/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/storage/f…
==============================================================================
--- branches/cmake-bringup/drivers/storage/floppy/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/storage/floppy/CMakeLists.txt [iso-8859-1] Sat Sep 4
14:14:45 2010
@@ -1,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)
Propchange: branches/cmake-bringup/drivers/storage/floppy/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native