要清除旧对象,请使用下列其中一种方法:
CPPCompileCommand 属性
元类 Microsoft:
Property CPPCompileCommand MultiLine
" if exist $OMFileObjPath erase $OMFileObjPath
$(CPP) $OMFileCPPCompileSwitches
/Fo\"$OMFileObjPath\" \"$OMFileImpPath\" "
元类 VxWorks:
Property CPPCompileCommand MultiLine
" @echo Compiling $OMFileImpPath
@$(RM) $OMFileObjPath
@$(CXX) $(C++FLAGS) $OMFileCPPCompileSwitches -o
$OMFileObjPath $OMFileImpPath"