2010-12-07 11:40:10 +00:00
|
|
|
|
|
|
|
add_definitions(
|
2011-10-02 22:16:18 +00:00
|
|
|
-D__ROS_LONG64__)
|
2010-12-07 11:40:10 +00:00
|
|
|
|
|
|
|
list(APPEND SOURCE
|
|
|
|
devclass.c
|
|
|
|
devinst.c
|
2012-05-19 14:09:14 +00:00
|
|
|
diskspace.c
|
2010-12-07 11:40:10 +00:00
|
|
|
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)
|
2011-05-14 20:55:36 +00:00
|
|
|
add_cd_file(TARGET setupapi_winetest DESTINATION reactos/bin FOR all)
|
2011-09-04 17:33:34 +00:00
|
|
|
|
|
|
|
if(NOT MSVC)
|
2011-10-02 22:16:18 +00:00
|
|
|
add_target_compile_flags(setupapi_winetest "-Wno-format")
|
2011-09-04 17:33:34 +00:00
|
|
|
endif()
|