* Sync with recent trunk (r52637).
[reactos.git] / base / system / smss / CMakeLists.txt
1
2 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/subsys)
3
4 list(APPEND SOURCE
5 client.c
6 debug.c
7 init.c
8 initdosdev.c
9 initenv.c
10 initheap.c
11 initmv.c
12 initobdir.c
13 initpage.c
14 initreg.c
15 initrun.c
16 initss.c
17 initwkdll.c
18 print.c
19 smapi.c
20 smapicomp.c
21 smapiexec.c
22 smapiquery.c
23 smss.c
24 smss.rc)
25
26 add_executable(smss WIN32 ${SOURCE})
27
28 target_link_libraries(smss nt smlib)
29 if(MSVC)
30 set_entrypoint(smss DllMainCRTStartup)
31 endif()
32
33 add_pch(smss smss.h)
34
35 set_module_type(smss nativecui)
36 add_importlibs(smss ntdll)
37 add_cd_file(TARGET smss DESTINATION reactos/system32 FOR all)