Referencing 3rd party Libraries using *relative* paths in Eclipse-CDT

后端 未结 4 646
感情败类
感情败类 2021-01-02 16:10

what is the best practice to reference 3rd party C++ components (e.g. includes, libraries) using relative paths in Eclipse-CDT?

  • I\'m trying to referen
4条回答
  •  悲&欢浪女
    2021-01-02 16:36

    I'm not sure about paths for CDT build settings (not at my computer) but can't you use the workspace variable? Something like: ${workspace_loc}/boost_1_39_9

    Edit: OK, I did some searching and found some information on those variables, here. I think what you want is: ${project_loc:/boost_1_39_0} ?

提交回复
热议问题