From a90cb98c5db02106310177afc7533b6320b341d5 Mon Sep 17 00:00:00 2001 From: Sylvain Petreolle Date: Sat, 10 Mar 2012 13:36:45 +0000 Subject: [PATCH] [ROSAPPS] Add maze and green to build. svn path=/trunk/; revision=56102 --- rosapps/CMakeLists.txt | 4 +++- rosapps/demos/CMakelists.txt | 1 + rosapps/demos/maze/CMakeLists.txt | 12 ++++++++++++ rosapps/drivers/CMakelists.txt | 1 + rosapps/drivers/green/CMakelists.txt | 19 +++++++++++++++++++ 5 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 rosapps/demos/CMakelists.txt create mode 100644 rosapps/demos/maze/CMakeLists.txt create mode 100644 rosapps/drivers/CMakelists.txt create mode 100644 rosapps/drivers/green/CMakelists.txt diff --git a/rosapps/CMakeLists.txt b/rosapps/CMakeLists.txt index 79322fc0925..ea063efff4c 100644 --- a/rosapps/CMakeLists.txt +++ b/rosapps/CMakeLists.txt @@ -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 index 00000000000..a39b6e4a449 --- /dev/null +++ b/rosapps/demos/CMakelists.txt @@ -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 index 00000000000..f83ebd1aba8 --- /dev/null +++ b/rosapps/demos/maze/CMakeLists.txt @@ -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 index 00000000000..b47e23d69eb --- /dev/null +++ b/rosapps/drivers/CMakelists.txt @@ -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 index 00000000000..014cc62a873 --- /dev/null +++ b/rosapps/drivers/green/CMakelists.txt @@ -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)