[ROSAPPS]
authorSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 10 Mar 2012 13:36:45 +0000 (13:36 +0000)
committerSylvain Petreolle <spetreolle@yahoo.fr>
Sat, 10 Mar 2012 13:36:45 +0000 (13:36 +0000)
Add maze and green to build.

svn path=/trunk/; revision=56102

rosapps/CMakeLists.txt
rosapps/demos/CMakelists.txt [new file with mode: 0644]
rosapps/demos/maze/CMakeLists.txt [new file with mode: 0644]
rosapps/drivers/CMakelists.txt [new file with mode: 0644]
rosapps/drivers/green/CMakelists.txt [new file with mode: 0644]

index 79322fc..ea063ef 100644 (file)
@@ -1 +1,3 @@
-add_subdirectory(applications)
\ No newline at end of file
+add_subdirectory(applications)
+add_subdirectory(demos)
+add_subdirectory(drivers)
\ No newline at end of file
diff --git a/rosapps/demos/CMakelists.txt b/rosapps/demos/CMakelists.txt
new file mode 100644 (file)
index 0000000..a39b6e4
--- /dev/null
@@ -0,0 +1 @@
+add_subdirectory(maze)
\ No newline at end of file
diff --git a/rosapps/demos/maze/CMakeLists.txt b/rosapps/demos/maze/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f83ebd1
--- /dev/null
@@ -0,0 +1,12 @@
+
+set_rc_compiler()
+
+add_executable(maze
+    maze.c
+    maze.rc)
+
+set_module_type(maze win32gui)
+
+add_importlibs(maze user32 gdi32 msvcrt kernel32)
+
+add_cd_file(TARGET maze DESTINATION reactos/system32 FOR all)
diff --git a/rosapps/drivers/CMakelists.txt b/rosapps/drivers/CMakelists.txt
new file mode 100644 (file)
index 0000000..b47e23d
--- /dev/null
@@ -0,0 +1 @@
+add_subdirectory(green)
\ No newline at end of file
diff --git a/rosapps/drivers/green/CMakelists.txt b/rosapps/drivers/green/CMakelists.txt
new file mode 100644 (file)
index 0000000..014cc62
--- /dev/null
@@ -0,0 +1,19 @@
+
+set_rc_compiler()
+
+add_library(green SHARED
+    createclose.c
+    dispatch.c
+    green.c
+    keyboard.c
+    misc.c
+    pnp.c
+    power.c
+    screen.c
+    green.rc)
+
+add_pch(green green.h)
+
+set_module_type(green kernelmodedriver)
+add_importlibs(green ntoskrnl hal)
+add_cd_file(TARGET green DESTINATION reactos/system32/drivers NO_CAB FOR all)