[CMAKE]
[reactos.git] / base / applications / sc / CMakeLists.txt
1
2 set_unicode()
3 add_definitions(-DDEFINE_GUID)
4
5 list(APPEND SOURCE
6 control.c
7 create.c
8 delete.c
9 print.c
10 query.c
11 sc.c
12 start.c
13 usage.c
14 sc.rc)
15
16 add_executable(sc ${CMAKE_CURRENT_BINARY_DIR}/sc_sc.h.gch ${SOURCE})
17
18 add_pch(sc ${CMAKE_CURRENT_SOURCE_DIR}/sc.h ${SOURCE})
19
20 set_module_type(sc win32cui)
21 add_importlibs(sc advapi32 msvcrt kernel32)
22 add_cd_file(TARGET sc DESTINATION reactos/system32)