1 2add_executable(logevent logevent.c logevent.rc) 3set_module_type(logevent win32cui) 4if(NOT MSVC) 5 add_target_compile_flags(logevent "-Wno-unused-but-set-variable") 6endif() 7add_importlibs(logevent advapi32 msvcrt kernel32) 8add_cd_file(TARGET logevent DESTINATION reactos/system32 FOR all) 9