mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 16:51:39 +00:00
[CMAKE/CLANG-CL] Silence some clang-cl warnings in consistency with our gcc build.
This commit is contained in:
parent
6fe9441d32
commit
00124d1b1a
29 changed files with 113 additions and 82 deletions
|
@ -33,12 +33,11 @@ list(APPEND SOURCE
|
|||
testlist.c)
|
||||
|
||||
add_executable(comctl32_winetest ${SOURCE} rsrc.rc)
|
||||
|
||||
if(USE_CLANG_CL OR (NOT MSVC))
|
||||
add_target_compile_flags(comctl32_winetest "-Wno-format")
|
||||
endif()
|
||||
|
||||
set_module_type(comctl32_winetest win32cui)
|
||||
add_importlibs(comctl32_winetest comctl32 ole32 user32 gdi32 advapi32 msvcrt kernel32)
|
||||
add_rostests_file(TARGET comctl32_winetest)
|
||||
|
||||
if(NOT MSVC)
|
||||
# FIXME: http://www.cmake.org/Bug/view.php?id=12998
|
||||
#add_target_compile_flags(comctl32_winetest "-Wno-format")
|
||||
set_source_files_properties(${SOURCE} PROPERTIES COMPILE_FLAGS "-Wno-format")
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue