mirror of
https://github.com/reactos/reactos.git
synced 2024-08-30 23:28:58 +00:00
![Thomas Faber](/assets/img/avatar_default.png)
- Disable those unhelpful format string warnings - Remove some unnecessary defines svn path=/trunk/; revision=53945
25 lines
558 B
CMake
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()
|