Code::Blocks Forums
Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: MortenMacFly on May 22, 2006, 07:18:11 pm
-
Dear all,
I've gotten a new project whose executable depends on several configuration and data files which are in sub-folders of the executables folder. The application uses relative path's to access these files. Now for development I don't want to make a copy of all those sub-folders (they are too big, about 1,5GB). But I also don't want to replace the current executable. Want I want to do is to run the new application in the directory where the old (!) application is.
Is this already possible? As far as I understand the application is called within the executables output directory.
If this is not possible: Do you agree that this would be a nice-to-have?
I'm already thinking about how to implement this, e.g. as another parameter in the "Run" (Select Target) dialog. This may require an additional parameter in the project file, similar to "<Option parameters="MyParam" />", so for example "<Option exec_path="D:\WhereEver\MyApp\Is" />".
How do you think about that?
With regards, Morten.
Edit: ...forget about it - I'm just blind. Thanks Defender... ;-)
-
Hello!
Not sure, if I understand you correctly, but there is an "Execution Working Dir" option under Project->Properties->Targets.
There you can specify, in which folder the app should execute.
Or am I missing something? :)
Regards, Defender.
-
Or am I missing something? :)
...no. I just have overseen this. I'm using C::B such a long time now and it's still not long enough to realise new (cool!) features... :oops: :D :lol:
Thanks!!!
-
Or am I missing something? :)
...no. I just have overseen this. I'm using C::B such a long time now and it's still not long enough to realise new (cool!) features... :oops: :D :lol:
Thanks!!!
I'm glad I could help you ;)