2d9bd19d2e5f7f8cc4acf5571ede63cc428f8e8a
[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 ${CMAKE_CURRENT_BINARY_DIR}/smss_smss.h.gch ${SOURCE})
27
28 target_link_libraries(smss mingw_common nt smlib)
29 if(MSVC)
30 target_link_libraries(smss msvcsup)
31 set_entrypoint(smss DllMainCRTStartup)
32 endif()
33
34 add_pch(smss ${CMAKE_CURRENT_SOURCE_DIR}/smss.h ${SOURCE})
35
36 set_module_type(smss nativecui)
37 add_importlibs(smss ntdll)
38 add_cab_target(smss 1)