1
2list(APPEND SOURCE
3    CreateService.c
4    DuplicateTokenEx.c
5    eventlog.c
6    HKEY_CLASSES_ROOT.c
7    IsTextUnicode.c
8    LockServiceDatabase.c
9    QueryServiceConfig2.c
10    RegEnumKey.c
11    RegEnumValueW.c
12    RegOpenKeyExW.c
13    RegQueryInfoKey.c
14    RegQueryValueExW.c
15    RtlEncryptMemory.c
16    SaferIdentifyLevel.c
17    ServiceArgs.c
18    ServiceEnv.c
19    ServiceNetwork.c
20    svchlp.c)
21
22list(APPEND PCH_SKIP_SOURCE
23    testlist.c)
24
25add_executable(advapi32_apitest
26    ${SOURCE}
27    ${PCH_SKIP_SOURCE})
28
29target_link_libraries(advapi32_apitest wine ${PSEH_LIB})
30set_module_type(advapi32_apitest win32cui)
31add_importlibs(advapi32_apitest advapi32 iphlpapi ws2_32 msvcrt kernel32 ntdll)
32add_pch(advapi32_apitest precomp.h "${PCH_SKIP_SOURCE}")
33add_rostests_file(TARGET advapi32_apitest)
34