reactos/rostests/winetests/setupapi/CMakeLists.txt

25 lines
558 B
CMake
Raw Normal View History

add_definitions(
-D__ROS_LONG64__)
list(APPEND SOURCE
devclass.c
devinst.c
install.c
misc.c
parser.c
query.c
setupcab.c
stringtable.c
testlist.c)
add_executable(setupapi_winetest ${SOURCE})
target_link_libraries(setupapi_winetest wine)
set_module_type(setupapi_winetest win32cui)
add_importlibs(setupapi_winetest advapi32 setupapi user32 msvcrt kernel32 ntdll)
add_cd_file(TARGET setupapi_winetest DESTINATION reactos/bin FOR all)
if(NOT MSVC)
add_target_compile_flags(setupapi_winetest "-Wno-format")
endif()