Author: akhaldi Date: Sat Sep 4 13:43:01 2010 New Revision: 48696
URL: http://svn.reactos.org/svn/reactos?rev=48696&view=rev Log: [CMAKE] - Add fastfat and isapnp to build.
Added: branches/cmake-bringup/drivers/bus/isapnp/CMakeLists.txt (with props) branches/cmake-bringup/drivers/filesystems/fastfat/CMakeLists.txt (with props) Modified: branches/cmake-bringup/drivers/bus/CMakeLists.txt branches/cmake-bringup/drivers/filesystems/CMakeLists.txt
Modified: branches/cmake-bringup/drivers/bus/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/bus/CMakeL... ============================================================================== --- branches/cmake-bringup/drivers/bus/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/drivers/bus/CMakeLists.txt [iso-8859-1] Sat Sep 4 13:43:01 2010 @@ -1,3 +1,3 @@
add_subdirectory(acpi) - +add_subdirectory(isapnp)
Added: branches/cmake-bringup/drivers/bus/isapnp/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/bus/isapnp... ============================================================================== --- branches/cmake-bringup/drivers/bus/isapnp/CMakeLists.txt (added) +++ branches/cmake-bringup/drivers/bus/isapnp/CMakeLists.txt [iso-8859-1] Sat Sep 4 13:43:01 2010 @@ -1,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)
Propchange: branches/cmake-bringup/drivers/bus/isapnp/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native
Modified: branches/cmake-bringup/drivers/filesystems/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/filesystem... ============================================================================== --- branches/cmake-bringup/drivers/filesystems/CMakeLists.txt [iso-8859-1] (original) +++ branches/cmake-bringup/drivers/filesystems/CMakeLists.txt [iso-8859-1] Sat Sep 4 13:43:01 2010 @@ -1,2 +1,3 @@
add_subdirectory(cdfs) +add_subdirectory(fastfat)
Added: branches/cmake-bringup/drivers/filesystems/fastfat/CMakeLists.txt URL: http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/filesystem... ============================================================================== --- branches/cmake-bringup/drivers/filesystems/fastfat/CMakeLists.txt (added) +++ branches/cmake-bringup/drivers/filesystems/fastfat/CMakeLists.txt [iso-8859-1] Sat Sep 4 13:43:01 2010 @@ -1,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)
Propchange: branches/cmake-bringup/drivers/filesystems/fastfat/CMakeLists.txt ------------------------------------------------------------------------------ svn:eol-style = native