文件操作 - noexcept.gypi
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/node-addon-api/noexcept.gypi
编辑文件内容
{ 'defines': [ 'NAPI_DISABLE_CPP_EXCEPTIONS' ], 'cflags': [ '-fno-exceptions' ], 'cflags_cc': [ '-fno-exceptions' ], 'conditions': [ ["OS=='win'", { # _HAS_EXCEPTIONS is already defined and set to 0 in common.gypi #"defines": [ # "_HAS_EXCEPTIONS=0" #], "msvs_settings": { "VCCLCompilerTool": { 'ExceptionHandling': 0, 'EnablePREfast': 'true', }, }, }], ["OS=='mac'", { 'xcode_settings': { 'CLANG_CXX_LIBRARY': 'libc++', 'MACOSX_DEPLOYMENT_TARGET': '10.7', 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', }, }], ], }
修改文件时间
将文件时间修改为当前时间的前一年
删除文件