mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[CMAKE]
* Refer to the PSEH lib using its variable. svn path=/trunk/; revision=57260
This commit is contained in:
parent
59f075b683
commit
81eb633247
4 changed files with 14 additions and 17 deletions
|
@ -17,7 +17,7 @@ list(APPEND SOURCE
|
|||
add_executable(eventlog ${SOURCE})
|
||||
|
||||
if(NOT MSVC)
|
||||
target_link_libraries(eventlog pseh)
|
||||
target_link_libraries(eventlog ${PSEH_LIB})
|
||||
endif()
|
||||
|
||||
set_module_type(eventlog win32cui UNICODE)
|
||||
|
|
|
@ -10,7 +10,7 @@ add_executable(wlansvc
|
|||
${CMAKE_CURRENT_BINARY_DIR}/wlansvc_s.c)
|
||||
|
||||
if(NOT MSVC)
|
||||
target_link_libraries(wlansvc pseh)
|
||||
target_link_libraries(wlansvc ${PSEH_LIB})
|
||||
endif()
|
||||
|
||||
set_module_type(wlansvc win32cui UNICODE)
|
||||
|
|
|
@ -22,7 +22,7 @@ list(APPEND SOURCE
|
|||
add_executable(services ${SOURCE})
|
||||
|
||||
if(NOT MSVC)
|
||||
target_link_libraries(services pseh)
|
||||
target_link_libraries(services ${PSEH_LIB})
|
||||
endif()
|
||||
|
||||
set_module_type(services win32cui UNICODE)
|
||||
|
|
|
@ -2,23 +2,20 @@
|
|||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
|
||||
|
||||
list(APPEND SOURCE
|
||||
crashdmp.c
|
||||
pagefile.c
|
||||
sminit.c
|
||||
smloop.c
|
||||
smsbapi.c
|
||||
smsessn.c
|
||||
smsubsys.c
|
||||
smutil.c
|
||||
smss.c
|
||||
smss.rc)
|
||||
crashdmp.c
|
||||
pagefile.c
|
||||
sminit.c
|
||||
smloop.c
|
||||
smsbapi.c
|
||||
smsessn.c
|
||||
smsubsys.c
|
||||
smutil.c
|
||||
smss.c
|
||||
smss.rc)
|
||||
|
||||
add_executable(smss WIN32 ${SOURCE})
|
||||
|
||||
target_link_libraries(smss nt pseh smlib)
|
||||
|
||||
target_link_libraries(smss nt ${PSEH_LIB} smlib)
|
||||
add_pch(smss smss.h)
|
||||
|
||||
set_module_type(smss nativecui)
|
||||
add_importlibs(smss ntdll)
|
||||
add_cd_file(TARGET smss DESTINATION reactos/system32 FOR all)
|
||||
|
|
Loading…
Reference in a new issue