reactos/modules/rostests/apitests/advapi32/CMakeLists.txt
Doug Lyons 40233a3644
[ADVAPI32_APITEST] Add new RegCreateKeyEx tests (#5234)
* [ADVAPI32_APITEST] Add new RegCreateKeyEx tests
* Remove trailing spaces.
* Initialize SECURITY_ATTRIBUTES sa with zeroes.

Add a set of tests for RegCreateKeyExW and -A.
Created to prove the correctness of the already merged PR (#5230)

JIRA issue: CORE-15471
2023-06-29 21:33:44 +02:00

35 lines
812 B
CMake

list(APPEND SOURCE
CreateService.c
DuplicateTokenEx.c
eventlog.c
HKEY_CLASSES_ROOT.c
IsTextUnicode.c
LockServiceDatabase.c
QueryServiceConfig2.c
RegCreateKeyEx.c
RegEnumKey.c
RegEnumValueW.c
RegOpenKeyExW.c
RegQueryInfoKey.c
RegQueryValueExW.c
RtlEncryptMemory.c
SaferIdentifyLevel.c
ServiceArgs.c
ServiceEnv.c
ServiceNetwork.c
svchlp.c)
list(APPEND PCH_SKIP_SOURCE
testlist.c)
add_executable(advapi32_apitest
${SOURCE}
${PCH_SKIP_SOURCE})
target_link_libraries(advapi32_apitest wine ${PSEH_LIB})
set_module_type(advapi32_apitest win32cui)
add_importlibs(advapi32_apitest advapi32 iphlpapi ws2_32 msvcrt kernel32 ntdll)
add_pch(advapi32_apitest precomp.h "${PCH_SKIP_SOURCE}")
add_rostests_file(TARGET advapi32_apitest)