Author: spetreolle
Date: Sun Sep 19 16:36:43 2010
New Revision: 48816
URL:
http://svn.reactos.org/svn/reactos?rev=48816&view=rev
Log:
[CMAKE]
Add ext2 to build.
Added:
branches/cmake-bringup/drivers/filesystems/ext2/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/drivers/filesystems/CMakeLists.txt
Modified: branches/cmake-bringup/drivers/filesystems/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/filesyste…
==============================================================================
--- branches/cmake-bringup/drivers/filesystems/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/drivers/filesystems/CMakeLists.txt [iso-8859-1] Sun Sep 19
16:36:43 2010
@@ -1,3 +1,4 @@
add_subdirectory(cdfs)
+add_subdirectory(ext2)
add_subdirectory(fastfat)
Added: branches/cmake-bringup/drivers/filesystems/ext2/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/filesyste…
==============================================================================
--- branches/cmake-bringup/drivers/filesystems/ext2/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/filesystems/ext2/CMakeLists.txt [iso-8859-1] Sun Sep 19
16:36:43 2010
@@ -1,0 +1,32 @@
+include_directories(inc)
+
+list(APPEND SOURCE
+ src/volinfo.c
+ src/create.c
+ src/write.c
+ src/metadata.c
+ src/fastio.c
+ src/dircntrl.c
+ src/DiskIO.c
+ src/fsctrl.c
+ src/devcntrl.c
+ src/flush.c
+ src/ext2init.c
+ src/io.c
+ src/close.c
+ src/fileinfo.c
+ src/read.c
+ src/cleanup.c
+ src/misc.c
+ src/shutdown.c)
+
+add_library(ext2fs SHARED ${SOURCE})
+
+set_target_properties(ext2fs PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8
-Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX
".sys")
+
+
+target_link_libraries(ext2fs
+ -lntoskrnl
+ -lhal)
+
+add_dependencies(ext2fs psdk bugcodes)
Propchange: branches/cmake-bringup/drivers/filesystems/ext2/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native