1 2add_executable(createspec createspec.c) 3set_module_type(createspec win32cui) 4target_link_libraries(createspec wine) 5if(CMAKE_C_COMPILER_ID STREQUAL "GNU") 6 target_compile_options(createspec PRIVATE $<$<COMPILE_LANGUAGE:C>:-Wno-stringop-overflow>) 7endif() 8add_importlibs(createspec dbghelp msvcrt kernel32) 9add_cd_file(TARGET createspec DESTINATION reactos/system32 FOR all) 10