1 2add_executable(tftpd tftpd.cpp) 3set_module_type(tftpd win32cui) 4add_importlibs(tftpd advapi32 ws2_32 iphlpapi msvcrt kernel32) 5add_cd_file(TARGET tftpd DESTINATION reactos/system32 FOR all) 6 7if(CMAKE_C_COMPILER_ID STREQUAL "GNU") 8 target_compile_options(tftpd PRIVATE -Wno-format-overflow) 9endif() 10