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    RegCreateKeyEx.c
11    RegEnumKey.c
12    RegEnumValueW.c
13    RegOpenKeyExW.c
14    RegQueryInfoKey.c
15    RegQueryValueExW.c
16    RtlEncryptMemory.c
17    SaferIdentifyLevel.c
18    ServiceArgs.c
19    ServiceEnv.c
20    ServiceNetwork.c
21    svchlp.c)
22
23list(APPEND PCH_SKIP_SOURCE
24    testlist.c)
25
26add_executable(advapi32_apitest
27    ${SOURCE}
28    ${PCH_SKIP_SOURCE})
29
30target_link_libraries(advapi32_apitest wine ${PSEH_LIB})
31set_module_type(advapi32_apitest win32cui)
32add_importlibs(advapi32_apitest advapi32 iphlpapi ws2_32 msvcrt kernel32 ntdll)
33add_pch(advapi32_apitest precomp.h "${PCH_SKIP_SOURCE}")
34add_rostests_file(TARGET advapi32_apitest)
35