Project dependency in Eclipse CDT

前端 未结 5 1884
走了就别回头了
走了就别回头了 2020-12-29 03:44

I\'m using eclipse for the first time. I\'m a seasoned VisualStudio user, so I\'m trying to find similar functionality in eclipse. I have two projects, A and B. Project A sp

5条回答
  •  攒了一身酷
    2020-12-29 04:12

    By default at least with QNX C++ projects, it WILL NOT check for changes in other projects. Right click on the project, and expand "check dependencies on/off"->"check user headers only" It seems to work, roughly... It appears to do a makedepends on the code, and adds *.d files to the output folder which are simply depends file that list the header files. Note: these do not appear to get regenerated, and get out of date - I do not know how to regenerate them.

提交回复
热议问题