reactos/modules/rostests/winetests/advapi32/CMakeLists.txt
2017-12-17 12:24:27 +01:00

28 lines
639 B
CMake

include_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine)
list(APPEND SOURCE
cred.c
crypt.c
crypt_lmhash.c
crypt_md4.c
crypt_md5.c
crypt_sha.c
eventlog.c
lsa.c
registry.c
security.c
service.c
precomp.h)
add_executable(advapi32_winetest ${SOURCE} testlist.c)
if(USE_CLANG_CL OR (NOT MSVC))
add_target_compile_flags(advapi32_winetest "-Wno-format")
endif()
set_module_type(advapi32_winetest win32cui)
add_importlibs(advapi32_winetest advapi32 ole32 user32 msvcrt kernel32 ntdll)
add_pch(advapi32_winetest precomp.h SOURCE)
add_rostests_file(TARGET advapi32_winetest)