Eclipse CDT -- How to map Linux path's to Windows paths?

Posted by SiegeX on Stack Overflow See other posts from Stack Overflow or by SiegeX
Published on 2010-04-21T00:40:17Z Indexed on 2010/04/21 0:43 UTC
Read the original article Hit count: 268

Filed under:
|
|

We have a C-code project written for a Linux environment but we also want the ability to view and edit the code on Eclipse for Windows and have the headers be resolved. The problem we are facing is that a lot of the headers are included with absolute paths in the Linux format such as:

#include /path/to/custom/header.h

What I would like to be able to do is have Eclipse CDT map /path/to/custom/ to C:\path\to\custom. Is this possible?

© Stack Overflow or respective owner

Related posts about eclipse-cdt

Related posts about eclipse