mirror of
https://github.com/reactos/reactos.git
synced 2024-11-01 12:26:32 +00:00
3cc4361cca
* [UDFS] Clang: Fix a #pragma 'warning: unknown warning group '-Wstringop-overflow', ignored [-Wunknown-warning-option]' Follow-up to612b1f2e6
(0.4.15-dev-1129). * [CREATESPEC] Clang: Fix a target_compile_options() 'warning: unknown warning option '-Wno-stringop-overflow'; did you mean '-Wno-shift-overflow'? [-Wunknown-warning-option]' Addendum to00ed72d7e
(0.4.15-dev-1169). * [MSVCRT_WINETEST] Clang*: Fix a target_compile_options() 'warning: unknown warning option '-Wno-stringop-truncation'; did you mean '-Wno-string-concatenation'? [-Wunknown-warning-option]' Addendum to commits00ed72d7e
(0.4.15-dev-1169) thenf155b9377
(0.4.15-dev-4612). * [TELNET] Clang*: Fix a target_compile_options() 'warning: unknown warning option '-Wno-restrict' [-Wunknown-warning-option]' Addendum to447ef2aa4
(0.4.15-dev-4613).
10 lines
378 B
CMake
10 lines
378 B
CMake
|
|
add_executable(createspec createspec.c)
|
|
set_module_type(createspec win32cui)
|
|
target_link_libraries(createspec wine)
|
|
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
|
|
target_compile_options(createspec PRIVATE $<$<COMPILE_LANGUAGE:C>:-Wno-stringop-overflow>)
|
|
endif()
|
|
add_importlibs(createspec dbghelp msvcrt kernel32)
|
|
add_cd_file(TARGET createspec DESTINATION reactos/system32 FOR all)
|