Author: akhaldi
Date: Sat Sep 4 12:57:01 2010
New Revision: 48693
URL:
http://svn.reactos.org/svn/reactos?rev=48693&view=rev
Log:
[CMAKE]
- Add atapi, blue, cdfs and uniata to build.
Added:
branches/cmake-bringup/drivers/filesystems/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/filesystems/cdfs/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/setup/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/setup/blue/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/storage/ide/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/storage/ide/atapi/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/storage/ide/uniata/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/drivers/CMakeLists.txt
branches/cmake-bringup/drivers/storage/CMakeLists.txt
Modified: branches/cmake-bringup/drivers/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/CMakeList…
==============================================================================
--- branches/cmake-bringup/drivers/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/drivers/CMakeLists.txt [iso-8859-1] Sat Sep 4 12:57:01 2010
@@ -2,6 +2,8 @@
add_subdirectory(base)
add_subdirectory(battery)
add_subdirectory(bus)
+add_subdirectory(filesystems)
add_subdirectory(input)
+add_subdirectory(setup)
add_subdirectory(storage)
add_subdirectory(video)
Added: 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 (added)
+++ branches/cmake-bringup/drivers/filesystems/CMakeLists.txt [iso-8859-1] Sat Sep 4
12:57:01 2010
@@ -1,0 +1,2 @@
+
+add_subdirectory(cdfs)
Propchange: branches/cmake-bringup/drivers/filesystems/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/filesystems/cdfs/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/filesyste…
==============================================================================
--- branches/cmake-bringup/drivers/filesystems/cdfs/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/filesystems/cdfs/CMakeLists.txt [iso-8859-1] Sat Sep 4
12:57:01 2010
@@ -1,0 +1,30 @@
+
+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>")
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
+
+list(APPEND SOURCE
+ cdfs.c
+ cleanup.c
+ close.c
+ common.c
+ create.c
+ dirctl.c
+ fcb.c
+ finfo.c
+ fsctl.c
+ misc.c
+ rw.c
+ volinfo.c
+ cdfs.rc)
+
+add_library(cdfs SHARED ${CMAKE_CURRENT_BINARY_DIR}/cdfs_cdfs.h.gch ${SOURCE})
+
+set_target_properties(cdfs PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8
-Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX
".sys")
+
+target_link_libraries(cdfs
+ ${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
+ ${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a)
+
+add_pch(cdfs ${CMAKE_CURRENT_SOURCE_DIR}/cdfs.h ${SOURCE})
+add_dependencies(cdfs psdk bugcodes)
Propchange: branches/cmake-bringup/drivers/filesystems/cdfs/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/setup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/setup/CMa…
==============================================================================
--- branches/cmake-bringup/drivers/setup/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/setup/CMakeLists.txt [iso-8859-1] Sat Sep 4 12:57:01
2010
@@ -1,0 +1,2 @@
+
+add_subdirectory(blue)
Propchange: branches/cmake-bringup/drivers/setup/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/setup/blue/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/setup/blu…
==============================================================================
--- branches/cmake-bringup/drivers/setup/blue/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/setup/blue/CMakeLists.txt [iso-8859-1] Sat Sep 4
12:57:01 2010
@@ -1,0 +1,14 @@
+
+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>")
+
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
+
+add_library(blue SHARED blue.c font.c blue.rc)
+
+set_target_properties(blue PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8
-Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX
".sys")
+
+target_link_libraries(blue
+ ${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
+ ${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a)
+
+add_dependencies(blue psdk bugcodes)
Propchange: branches/cmake-bringup/drivers/setup/blue/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
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 12:57:01
2010
@@ -1,2 +1,3 @@
+add_subdirectory(ide)
add_subdirectory(scsiport)
Added: branches/cmake-bringup/drivers/storage/ide/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/storage/i…
==============================================================================
--- branches/cmake-bringup/drivers/storage/ide/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/storage/ide/CMakeLists.txt [iso-8859-1] Sat Sep 4
12:57:01 2010
@@ -1,0 +1,3 @@
+
+add_subdirectory(atapi)
+add_subdirectory(uniata)
Propchange: branches/cmake-bringup/drivers/storage/ide/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/storage/ide/atapi/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/storage/i…
==============================================================================
--- branches/cmake-bringup/drivers/storage/ide/atapi/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/storage/ide/atapi/CMakeLists.txt [iso-8859-1] Sat Sep
4 12:57:01 2010
@@ -1,0 +1,12 @@
+
+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(atapi SHARED atapi.c atapi.rc)
+
+set_target_properties(atapi PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8
-Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX
".sys")
+
+target_link_libraries(atapi
+ -lscsiport
+ libcntpr)
+
+add_dependencies(atapi psdk bugcodes)
Propchange: branches/cmake-bringup/drivers/storage/ide/atapi/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/storage/ide/uniata/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/storage/i…
==============================================================================
--- branches/cmake-bringup/drivers/storage/ide/uniata/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/storage/ide/uniata/CMakeLists.txt [iso-8859-1] Sat Sep
4 12:57:01 2010
@@ -1,0 +1,25 @@
+
+set(CMAKE_CXX_CREATE_SHARED_LIBRARY "<CMAKE_CXX_COMPILER>
<CMAKE_SHARED_LIBRARY_CXX_FLAGS> <LINK_FLAGS>
<CMAKE_SHARED_LIBRARY_CREATE_CXX_FLAGS> -o <TARGET> <OBJECTS>
<LINK_LIBRARIES>")
+
+include_directories(inc)
+
+add_library(uniata SHARED
+ id_ata.cpp
+ id_badblock.cpp
+ id_dma.cpp
+ id_init.cpp
+ id_probe.cpp
+ id_queue.cpp
+ id_sata.cpp
+ idedma.rc
+ ros_glue/ros_glue.cpp)
+
+set_target_properties(uniata PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8
-Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols -Wl,--subsystem,native" SUFFIX
".sys")
+
+target_link_libraries(uniata
+ ${REACTOS_SOURCE_DIR}/drivers/storage/scsiport/libscsiport.a
+ ${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
+ ${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a
+ -lgcc)
+
+add_dependencies(uniata psdk bugcodes buildno_header)
Propchange: branches/cmake-bringup/drivers/storage/ide/uniata/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native