mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 09:50:02 +00:00
38 lines
743 B
CMake
38 lines
743 B
CMake
|
|
include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
|
|
|
|
list(APPEND SOURCE
|
|
client.c
|
|
debug.c
|
|
init.c
|
|
initdosdev.c
|
|
initenv.c
|
|
initheap.c
|
|
initmv.c
|
|
initobdir.c
|
|
initpage.c
|
|
initreg.c
|
|
initrun.c
|
|
initss.c
|
|
initwkdll.c
|
|
print.c
|
|
smapi.c
|
|
smapicomp.c
|
|
smapiexec.c
|
|
smapiquery.c
|
|
smss.c
|
|
smss.rc)
|
|
|
|
add_executable(smss WIN32 ${CMAKE_CURRENT_BINARY_DIR}/smss_smss.h.gch ${SOURCE})
|
|
|
|
target_link_libraries(smss mingw_common nt smlib)
|
|
if(MSVC)
|
|
target_link_libraries(smss msvcsup)
|
|
set_entrypoint(smss DllMainCRTStartup)
|
|
endif()
|
|
|
|
add_pch(smss ${CMAKE_CURRENT_SOURCE_DIR}/smss.h ${SOURCE})
|
|
|
|
set_module_type(smss nativecui)
|
|
add_importlibs(smss ntdll)
|
|
add_cab_target(smss 1)
|