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


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



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/ --> C:\path\to\custom\

Is this possible?


QT qmake lowercases my custom widget names

1:

Deleting a possibly locked file in c
I suppose you should rather use the classic way and inlude the directories where the header files are located, instead of refering to an complete path in your sources.. Help with Python structure in *nixes
#include "header.h" 
and add -Ic:\path\to\custom. Force Java2D Subpixel Antialiasing
Linux command to find the which are the jars loaded by the jvm

66 out of 100 based on 51 user ratings 126 reviews