1
2include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
3
4list(APPEND SOURCE
5    cred.c
6    crypt.c
7    crypt_lmhash.c
8    crypt_md4.c
9    crypt_md5.c
10    crypt_sha.c
11    eventlog.c
12    lsa.c
13    registry.c
14    security.c
15    service.c)
16
17list(APPEND PCH_SKIP_SOURCE
18    testlist.c)
19
20add_executable(advapi32_winetest
21    ${SOURCE}
22    ${PCH_SKIP_SOURCE})
23
24if(USE_CLANG_CL OR (NOT MSVC))
25    target_compile_options(advapi32_winetest PRIVATE "-Wno-format")
26endif()
27
28set_module_type(advapi32_winetest win32cui)
29add_importlibs(advapi32_winetest advapi32 ole32 user32 msvcrt kernel32 ntdll)
30add_pch(advapi32_winetest precomp.h "${PCH_SKIP_SOURCE}")
31add_rostests_file(TARGET advapi32_winetest)
32