Author: akhaldi
Date: Tue Aug 31 10:34:15 2010
New Revision: 48661
URL:
http://svn.reactos.org/svn/reactos?rev=48661&view=rev
Log:
[CMAKE]
- Add beep driver to build.
Added:
branches/cmake-bringup/drivers/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/base/CMakeLists.txt (with props)
branches/cmake-bringup/drivers/base/beep/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/CMakeLists.txt
Modified: branches/cmake-bringup/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/CMakeLists.txt?re…
==============================================================================
--- branches/cmake-bringup/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/CMakeLists.txt [iso-8859-1] Tue Aug 31 10:34:15 2010
@@ -102,6 +102,7 @@
add_subdirectory(base)
add_subdirectory(dll)
+add_subdirectory(drivers)
add_subdirectory(hal)
add_subdirectory(lib)
add_subdirectory(ntoskrnl)
Added: branches/cmake-bringup/drivers/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/CMakeList…
==============================================================================
--- branches/cmake-bringup/drivers/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/CMakeLists.txt [iso-8859-1] Tue Aug 31 10:34:15 2010
@@ -1,0 +1,2 @@
+
+add_subdirectory(base)
Propchange: branches/cmake-bringup/drivers/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/base/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/base/CMak…
==============================================================================
--- branches/cmake-bringup/drivers/base/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/base/CMakeLists.txt [iso-8859-1] Tue Aug 31 10:34:15
2010
@@ -1,0 +1,2 @@
+
+add_subdirectory(beep)
Propchange: branches/cmake-bringup/drivers/base/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/drivers/base/beep/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/drivers/base/beep…
==============================================================================
--- branches/cmake-bringup/drivers/base/beep/CMakeLists.txt (added)
+++ branches/cmake-bringup/drivers/base/beep/CMakeLists.txt [iso-8859-1] Tue Aug 31
10:34:15 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(beep SHARED beep.c beep.rc)
+
+set_target_properties(beep PROPERTIES LINK_FLAGS "-Wl,-entry,_DriverEntry@8
-Wl,--image-base,0x00010000 -Wl,--exclude-all-symbols" SUFFIX ".sys")
+
+target_link_libraries(beep
+ ${REACTOS_SOURCE_DIR}/ntoskrnl/libntoskrnl.a
+ ${REACTOS_SOURCE_DIR}/hal/halx86/libhal.a)
+
+add_dependencies(beep psdk bugcodes)
Propchange: branches/cmake-bringup/drivers/base/beep/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native