File-->New-->C Project

 

Create top-level folder要勾選

 

Window-->Preferences-->General-->Editors-->File Associations, 增加Makefile file associations

 

加入Linux source code 並設定icludes目錄並將設定做 export XML(Autoconf_symbol.xml)

 

cat autoconf.h |grep define |awk '{print "<macro><name>" $2 "</name><value>" $3 "</value></macro>"}' > autoconfl.xml

把這段XML copy到Autoconf_symbol.xml的<macro></macro>區段再匯入即可

<language name="Assembly">, <language name="C"> ,<language name="C++"> 都要加入

 

 

sss

 

文章標籤
全站熱搜
創作者介紹
創作者 peter27863043 的頭像
peter27863043

檸檬傻斌-無料

peter27863043 發表在 痞客邦 留言(0) 人氣(21)