Author Topic: Add relative path support for portable drive  (Read 383 times)

Offline user005

  • Single posting newcomer
  • *
  • Posts: 2
Add relative path support for portable drive
« on: August 07, 2019, 04:26:13 pm »
windows platform.
for usb flash driver.
There are several places where relative paths need to be supported

1,settings - compiler settings - toolchain executables - compiler's installation directory.
2,file - new - (all about project folder).

maybe 'compiler settings' and 'debugger settings' should all support relative paths.



Offline stahta01

  • Lives here!
  • ****
  • Posts: 6645
    • My Best Post
Re: Add relative path support for portable drive
« Reply #1 on: August 07, 2019, 06:02:29 pm »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 32 bit.
On Debian Stretch, compiling CB Trunk against wxWidgets 3.0.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline user005

  • Single posting newcomer
  • *
  • Posts: 2
Re: Add relative path support for portable drive
« Reply #2 on: August 08, 2019, 05:22:32 pm »
Read this and see if it still works.

http://wiki.codeblocks.org/index.php/FAQ-Settings#Q:_How_do_I_make_Code::Blocks_portable.3F

Tim S.

thinks.
i  use CbLauncher.exe,
CbLauncher.exe only make the profile file portable.
There are still some absolute paths in the profile file.
Code:Blocks itself does not support relative paths,I think that's the main reason.