[CMAKE]
authorAmine Khaldi <amine.khaldi@reactos.org>
Fri, 24 Sep 2010 09:46:34 +0000 (09:46 +0000)
committerAmine Khaldi <amine.khaldi@reactos.org>
Fri, 24 Sep 2010 09:46:34 +0000 (09:46 +0000)
- Add fastfat_new by Alexey Komarov (IRC: q4a)

svn path=/branches/cmake-bringup/; revision=48856

drivers/filesystems/CMakeLists.txt
drivers/filesystems/fastfat_new/CMakeLists.txt [new file with mode: 0644]

index cf523e6..7cf4613 100644 (file)
@@ -2,3 +2,4 @@
 add_subdirectory(cdfs)
 add_subdirectory(ext2)
 add_subdirectory(fastfat)
 add_subdirectory(cdfs)
 add_subdirectory(ext2)
 add_subdirectory(fastfat)
+#add_subdirectory(fastfat_new)
diff --git a/drivers/filesystems/fastfat_new/CMakeLists.txt b/drivers/filesystems/fastfat_new/CMakeLists.txt
new file mode 100644 (file)
index 0000000..ab0b072
--- /dev/null
@@ -0,0 +1,37 @@
+
+include_directories(.)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/libs/fullfat)
+
+list(APPEND SOURCE
+    cleanup.c
+    close.c
+    create.c
+    device.c
+    dir.c
+    ea.c
+    fastfat.c
+    fastio.c
+    fat.c
+    fcb.c
+    finfo.c
+    flush.c
+    fsctl.c
+    fullfat.c
+    lock.c
+    rw.c
+    shutdown.c
+    volume.c
+    fastfat.rc)
+
+add_library(fastfat_new SHARED ${CMAKE_CURRENT_BINARY_DIR}/fastfat_new_fastfat.h.gch ${SOURCE})
+
+set_target_properties(fastfat_new PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8 -Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX ".sys")
+
+target_link_libraries(fastfat_new
+    pseh
+    fullfat)
+
+add_importlibs(fastfat_new ntoskrnl hal)
+
+add_pch(fastfat_new ${CMAKE_CURRENT_SOURCE_DIR}/fastfat.h ${SOURCE})
+add_dependencies(fastfat_new psdk bugcodes)