Author: akhaldi
Date: Tue Sep 28 13:41:23 2010
New Revision: 48916
URL:
http://svn.reactos.org/svn/reactos?rev=48916&view=rev
Log:
[CMAKE]
- Add csrss, csrsrv and win32csr to build. By Alexey Komarov (IRC: q4a)
Added:
branches/cmake-bringup/importlibs/libcsrsrv.a (with props)
branches/cmake-bringup/importlibs/libsmdll.a (with props)
branches/cmake-bringup/subsystems/win32/csrss/CMakeLists.txt (with props)
branches/cmake-bringup/subsystems/win32/csrss/csrsrv/CMakeLists.txt (with props)
branches/cmake-bringup/subsystems/win32/csrss/win32csr/CMakeLists.txt (with props)
Modified:
branches/cmake-bringup/subsystems/win32/CMakeLists.txt
Added: branches/cmake-bringup/importlibs/libcsrsrv.a
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/importlibs/libcsr…
==============================================================================
Binary file - no diff available.
Propchange: branches/cmake-bringup/importlibs/libcsrsrv.a
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: branches/cmake-bringup/importlibs/libsmdll.a
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/importlibs/libsmd…
==============================================================================
Binary file - no diff available.
Propchange: branches/cmake-bringup/importlibs/libsmdll.a
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Modified: branches/cmake-bringup/subsystems/win32/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/subsystems/win32/…
==============================================================================
--- branches/cmake-bringup/subsystems/win32/CMakeLists.txt [iso-8859-1] (original)
+++ branches/cmake-bringup/subsystems/win32/CMakeLists.txt [iso-8859-1] Tue Sep 28
13:41:23 2010
@@ -1,2 +1,3 @@
+add_subdirectory(csrss)
add_subdirectory(win32k)
Added: branches/cmake-bringup/subsystems/win32/csrss/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/subsystems/win32/…
==============================================================================
--- branches/cmake-bringup/subsystems/win32/csrss/CMakeLists.txt (added)
+++ branches/cmake-bringup/subsystems/win32/csrss/CMakeLists.txt [iso-8859-1] Tue Sep 28
13:41:23 2010
@@ -1,0 +1,17 @@
+
+include_directories(include)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
+
+add_executable(csrss csrss.c csrss.rc)
+
+set_module_type(csrss nativecui)
+
+target_link_libraries(csrss nt)
+
+add_importlibs(csrss ntdll csrsrv)
+
+add_dependencies(csrss psdk bugcodes)
+
+add_subdirectory(csrsrv)
+add_subdirectory(win32csr)
Propchange: branches/cmake-bringup/subsystems/win32/csrss/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/subsystems/win32/csrss/csrsrv/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/subsystems/win32/…
==============================================================================
--- branches/cmake-bringup/subsystems/win32/csrss/csrsrv/CMakeLists.txt (added)
+++ branches/cmake-bringup/subsystems/win32/csrss/csrsrv/CMakeLists.txt [iso-8859-1] Tue
Sep 28 13:41:23 2010
@@ -1,0 +1,27 @@
+
+include_directories(${REACTOS_SOURCE_DIR}/subsystems/win32/csrss/include)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
+
+spec2def(csrsrv ${CMAKE_CURRENT_SOURCE_DIR}/csrsrv.spec
${CMAKE_CURRENT_BINARY_DIR}/csrsrv.def)
+
+list(APPEND SOURCE
+ api/process.c
+ api/user.c
+ api/wapi.c
+ procsup.c
+ thredsup.c
+ init.c)
+
+add_library(csrsrv SHARED ${CMAKE_CURRENT_BINARY_DIR}/csrsrv_srv.h.gch ${SOURCE})
+
+target_link_libraries(csrsrv
+ ${CMAKE_CURRENT_BINARY_DIR}/csrsrv.def
+ pseh)
+
+set_module_type(csrsrv nativedll)
+
+add_importlibs(csrsrv ntdll smdll)
+
+add_pch(csrsrv ${CMAKE_CURRENT_SOURCE_DIR}/srv.h ${SOURCE})
+
+add_dependencies(csrsrv csrsrv_def psdk bugcodes)
Propchange: branches/cmake-bringup/subsystems/win32/csrss/csrsrv/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native
Added: branches/cmake-bringup/subsystems/win32/csrss/win32csr/CMakeLists.txt
URL:
http://svn.reactos.org/svn/reactos/branches/cmake-bringup/subsystems/win32/…
==============================================================================
--- branches/cmake-bringup/subsystems/win32/csrss/win32csr/CMakeLists.txt (added)
+++ branches/cmake-bringup/subsystems/win32/csrss/win32csr/CMakeLists.txt [iso-8859-1] Tue
Sep 28 13:41:23 2010
@@ -1,0 +1,41 @@
+
+include_directories(BEFORE .)
+include_directories(${REACTOS_SOURCE_DIR}/subsystems/win32/csrss/include)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
+include_directories(${REACTOS_SOURCE_DIR}/include/reactos/drivers)
+include_directories(${REACTOS_SOURCE_DIR}/dll/cpl/console)
+
+spec2def(win32csr ${CMAKE_CURRENT_SOURCE_DIR}/win32csr.spec
${CMAKE_CURRENT_BINARY_DIR}/win32csr.def)
+
+set_rc_compiler()
+
+list(APPEND SOURCE
+ alias.c
+ appswitch.c
+ coninput.c
+ conoutput.c
+ console.c
+ desktopbg.c
+ dllmain.c
+ exitros.c
+ guiconsole.c
+ handle.c
+ harderror.c
+ lineinput.c
+ tuiconsole.c
+ win32csr.rc)
+
+add_library(win32csr SHARED ${CMAKE_CURRENT_BINARY_DIR}/win32csr_w32csr.h.gch ${SOURCE})
+
+target_link_libraries(win32csr
+ ${CMAKE_CURRENT_BINARY_DIR}/win32csr.def
+ win32ksys
+ pseh)
+
+set_module_type(win32csr win32dll)
+
+add_importlibs(win32csr ntdll user32 gdi32 advapi32 psapi)
+
+add_pch(win32csr ${CMAKE_CURRENT_SOURCE_DIR}/w32csr.h ${SOURCE})
+
+add_dependencies(win32csr win32csr_def psdk bugcodes)
Propchange: branches/cmake-bringup/subsystems/win32/csrss/win32csr/CMakeLists.txt
------------------------------------------------------------------------------
svn:eol-style = native