mirror of
https://github.com/reactos/reactos.git
synced 2024-11-11 01:04:11 +00:00
3346380aaa
Livecd: Add hal, ntoskrnl, csrss, csrsrv, win32k. svn path=/branches/cmake-bringup/; revision=49225
28 lines
No EOL
738 B
CMake
28 lines
No EOL
738 B
CMake
|
|
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)
|
|
add_livecd_target(csrsrv reactos/system32) |