reactos/modules/rosapps/applications/sysutils/logevent/CMakeLists.txt
Victor Perevertkin 74ec94e12c [CMAKE] Some options are only supported by GCC, don't use them for clang
These are (so far):
-Wno-format-overflow
-Wno-nonnull-compare
-Wno-old-style-declaration
-Wno-unused-but-set-variable
2021-04-09 03:58:19 +03:00

9 lines
321 B
CMake

add_executable(logevent logevent.c logevent.rc)
set_module_type(logevent win32cui)
if(CMAKE_C_COMPILER_ID STREQUAL "GNU")
target_compile_options(logevent PRIVATE -Wno-unused-but-set-variable)
endif()
add_importlibs(logevent advapi32 msvcrt kernel32)
add_cd_file(TARGET logevent DESTINATION reactos/system32 FOR all)