reactos/rostests/winetests/setupapi/CMakeLists.txt
Thomas Faber 282312fef2 [WINETESTS/CMAKE]
- Disable those unhelpful format string warnings
- Remove some unnecessary defines

svn path=/trunk/; revision=53945
2011-10-02 22:16:18 +00:00

25 lines
558 B
CMake

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()