Eclipse CDT: How to reference 3rd party includes via a Relative path

前端 未结 4 1963
盖世英雄少女心
盖世英雄少女心 2020-12-31 06:31

I\'m new to Eclipse-CDT, setting up a new project for the first time. I\'m trying to reference Boost without hardcoding an absolute path.

I\'ve put boost in

4条回答
  •  孤城傲影
    2020-12-31 07:34

    I got this working doing roughly what Michael Burr suggested above:

    Under Project Properties/C/C++ General/Paths and Symbols, I added paths like this:

    ${ProjDirPath}/../boost_1_39_0

    • Alex

提交回复
热议问题