mirror of
https://github.com/reactos/reactos.git
synced 2024-10-21 00:18:26 +00:00
c2d0d784c7
- Create a branch to do a proper merge of USB work from a trunk base instead of from cmake-bringup - In the future, DO NOT under any circumstances branch another branch. This leads to merge problems! svn path=/branches/usb-bringup-trunk/; revision=55018
29 lines
640 B
CMake
29 lines
640 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/subsystems/win32/csrss/include)
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
|
|
|
|
spec2def(csrsrv.dll csrsrv.spec)
|
|
|
|
list(APPEND SOURCE
|
|
api/process.c
|
|
api/user.c
|
|
api/wapi.c
|
|
procsup.c
|
|
thredsup.c
|
|
init.c
|
|
${CMAKE_CURRENT_BINARY_DIR}/csrsrv.def)
|
|
|
|
add_library(csrsrv SHARED ${SOURCE})
|
|
|
|
target_link_libraries(csrsrv ${PSEH_LIB})
|
|
|
|
set_module_type(csrsrv nativedll)
|
|
|
|
add_importlibs(csrsrv ntdll smdll)
|
|
|
|
add_pch(csrsrv srv.h)
|
|
|
|
add_dependencies(csrsrv psdk bugcodes)
|
|
add_cd_file(TARGET csrsrv DESTINATION reactos/system32 FOR all)
|
|
add_importlib_target(csrsrv.spec)
|