mirror of
https://github.com/reactos/reactos.git
synced 2025-06-01 23:48:12 +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})
|
add_executable(eventlog ${SOURCE})
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
target_link_libraries(eventlog pseh)
|
target_link_libraries(eventlog ${PSEH_LIB})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_module_type(eventlog win32cui UNICODE)
|
set_module_type(eventlog win32cui UNICODE)
|
||||||
|
|
|
@ -10,7 +10,7 @@ add_executable(wlansvc
|
||||||
${CMAKE_CURRENT_BINARY_DIR}/wlansvc_s.c)
|
${CMAKE_CURRENT_BINARY_DIR}/wlansvc_s.c)
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
target_link_libraries(wlansvc pseh)
|
target_link_libraries(wlansvc ${PSEH_LIB})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_module_type(wlansvc win32cui UNICODE)
|
set_module_type(wlansvc win32cui UNICODE)
|
||||||
|
|
|
@ -22,7 +22,7 @@ list(APPEND SOURCE
|
||||||
add_executable(services ${SOURCE})
|
add_executable(services ${SOURCE})
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
target_link_libraries(services pseh)
|
target_link_libraries(services ${PSEH_LIB})
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set_module_type(services win32cui UNICODE)
|
set_module_type(services win32cui UNICODE)
|
||||||
|
|
|
@ -2,23 +2,20 @@
|
||||||
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
|
||||||
|
|
||||||
list(APPEND SOURCE
|
list(APPEND SOURCE
|
||||||
crashdmp.c
|
crashdmp.c
|
||||||
pagefile.c
|
pagefile.c
|
||||||
sminit.c
|
sminit.c
|
||||||
smloop.c
|
smloop.c
|
||||||
smsbapi.c
|
smsbapi.c
|
||||||
smsessn.c
|
smsessn.c
|
||||||
smsubsys.c
|
smsubsys.c
|
||||||
smutil.c
|
smutil.c
|
||||||
smss.c
|
smss.c
|
||||||
smss.rc)
|
smss.rc)
|
||||||
|
|
||||||
add_executable(smss WIN32 ${SOURCE})
|
add_executable(smss WIN32 ${SOURCE})
|
||||||
|
target_link_libraries(smss nt ${PSEH_LIB} smlib)
|
||||||
target_link_libraries(smss nt pseh smlib)
|
|
||||||
|
|
||||||
add_pch(smss smss.h)
|
add_pch(smss smss.h)
|
||||||
|
|
||||||
set_module_type(smss nativecui)
|
set_module_type(smss nativecui)
|
||||||
add_importlibs(smss ntdll)
|
add_importlibs(smss ntdll)
|
||||||
add_cd_file(TARGET smss DESTINATION reactos/system32 FOR all)
|
add_cd_file(TARGET smss DESTINATION reactos/system32 FOR all)
|
||||||
|
|
Loading…
Reference in a new issue