Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Absolute project dir path
Absolute project dir path [message #804966] Thu, 23 February 2012 02:43 Go to next message
Eclipse UserFriend
I need a variable for my build command, which delivers an absolute file system path to my current project. I tried to use ${ProjDirPath}, but it has slashes instead of backslashes in the path.
Is there another variable with backslashes or is there a possibility to convert the slashes into backslashes?


Dominik.
Re: Absolute project dir path [message #809633 is a reply to message #804966] Tue, 28 February 2012 23:09 Go to previous messageGo to next message
Eclipse UserFriend
different slashes are due to difference OS's. You should convert yourself.
Re: Absolute project dir path [message #819041 is a reply to message #809633] Mon, 12 March 2012 08:15 Go to previous message
Eclipse UserFriend
I use Windows, so I need backslashes in the path. But Eclipse creates slashes in the variable ${ProjDirPath}. How can I convert the slashes to backslashes?
Previous Topic:no sourece available for xxxxx
Next Topic:Global variables disabled (debug)
Goto Forum:
  


Current Time: Thu Jun 19 13:09:05 EDT 2025

Powered by FUDForum. Page generated in 0.03755 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top