1c2c66affSColin Finck 2c2c66affSColin Finckinclude_directories(BEFORE ${REACTOS_SOURCE_DIR}/sdk/include/reactos/wine) 3c2c66affSColin Finck 4c2c66affSColin Fincklist(APPEND SOURCE 5c2c66affSColin Finck cred.c 6c2c66affSColin Finck crypt.c 7c2c66affSColin Finck crypt_lmhash.c 8c2c66affSColin Finck crypt_md4.c 9c2c66affSColin Finck crypt_md5.c 10c2c66affSColin Finck crypt_sha.c 11c2c66affSColin Finck eventlog.c 12c2c66affSColin Finck lsa.c 13c2c66affSColin Finck registry.c 14c2c66affSColin Finck security.c 15139a3d66SAmine Khaldi service.c) 16c2c66affSColin Finck 17139a3d66SAmine Khaldilist(APPEND PCH_SKIP_SOURCE 18139a3d66SAmine Khaldi testlist.c) 19139a3d66SAmine Khaldi 20139a3d66SAmine Khaldiadd_executable(advapi32_winetest 21139a3d66SAmine Khaldi ${SOURCE} 22139a3d66SAmine Khaldi ${PCH_SKIP_SOURCE}) 23c2c66affSColin Finck 24*f155b937SVictor Perevertkinif(CMAKE_C_COMPILER_ID STREQUAL "GNU" OR CMAKE_C_COMPILER_ID STREQUAL "Clang") 257e069ccdSVictor Perevertkin target_compile_options(advapi32_winetest PRIVATE "-Wno-format") 26c2c66affSColin Finckendif() 27c2c66affSColin Finck 28c2c66affSColin Finckset_module_type(advapi32_winetest win32cui) 29561bed7bSAmine Khaldiadd_importlibs(advapi32_winetest advapi32 ole32 user32 msvcrt kernel32 ntdll) 30139a3d66SAmine Khaldiadd_pch(advapi32_winetest precomp.h "${PCH_SKIP_SOURCE}") 31c2c66affSColin Finckadd_rostests_file(TARGET advapi32_winetest) 32