mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 12:23:31 +00:00
This is more explicit than defining it for all wine tests and it directly shows us which tests need to be synced to get rid of the hack.
Addendum to 381e224 (PR #7576)
29 lines
663 B
CMake
29 lines
663 B
CMake
|
|
add_definitions(-D__ROS_LONG64__)
|
|
add_definitions(
|
|
-D__WINESRC__
|
|
-Dstrcasecmp=_stricmp
|
|
)
|
|
|
|
list(APPEND SOURCE
|
|
devinst.c
|
|
dialog.c
|
|
diskspace.c
|
|
install.c
|
|
misc.c
|
|
parser.c
|
|
query.c
|
|
setupcab.c
|
|
stringtable.c
|
|
testlist.c)
|
|
|
|
add_executable(setupapi_winetest ${SOURCE} setupapi.rc)
|
|
set_module_type(setupapi_winetest win32cui)
|
|
target_link_libraries(setupapi_winetest uuid)
|
|
add_importlibs(setupapi_winetest advapi32 setupapi user32 shell32 msvcrt kernel32 ntdll)
|
|
add_rostests_file(TARGET setupapi_winetest)
|
|
|
|
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
|
target_compile_options(setupapi_winetest PRIVATE -Wno-format-overflow)
|
|
endif()
|