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    precomp.h)
22
23add_executable(advapi32_apitest ${SOURCE} testlist.c)
24target_link_libraries(advapi32_apitest wine ${PSEH_LIB})
25set_module_type(advapi32_apitest win32cui)
26add_importlibs(advapi32_apitest advapi32 iphlpapi ws2_32 msvcrt kernel32 ntdll)
27add_pch(advapi32_apitest precomp.h SOURCE)
28add_rostests_file(TARGET advapi32_apitest)
29