View previous topic :: View next topic |
Author |
Message |
flamaros
Joined: 02 Feb 2008 Posts: 33
|
Posted: Sat Apr 12, 2008 2:28 am Post subject: How to set a working directory |
|
|
Hi,
I want to sperate my project folder of the binary result, to be able to have a folder tree like that :
BaseSolutionDir\
BaseSolutionDir\Projet (contains poseidon and building files)
BaseSolutionDir\Realase\MyExecutalbe
BaseSolutionDir\Release\Data
BaseSolutionDir\Sources
My binary can access datas without any problems when I launch it manualy, but I use run of poseidon it doesn't work due to the working directory.
I use this target name to be able build my binary in the rigth folder :
..\Release\HelloWorld
Can you add an option like Visual studio to be able to move the working directory? Or an option may already exist? |
|
Back to top |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Sun Apr 13, 2008 12:33 pm Post subject: Re: How to set a working directory |
|
|
I think that poseidon can fit your need originally, like set release folder, sources folder....etc.
you can set the building files dir by using: Project Property->Compiler Options->double click the "Write object files relative directory[-od<path>]" to set the path.
But the locate of .poseidon(xml file) is decide where the project path is.
I haven't plan to move the work directory like VisualStudio, but I will download free VC ++2005 express and check how it works. (I don't want to reinstall my old VS6 ) |
|
Back to top |
|
|
flamaros
Joined: 02 Feb 2008 Posts: 33
|
Posted: Mon Apr 14, 2008 11:49 am Post subject: |
|
|
I'll try our method.
I think working directory is interesting, because you can prepare the Release directory, it's easier after to make the installer. |
|
Back to top |
|
|
flamaros
Joined: 02 Feb 2008 Posts: 33
|
Posted: Tue Apr 22, 2008 2:50 pm Post subject: Re: How to set a working directory |
|
|
Kuan Hsu wrote: | I haven't plan to move the work directory like VisualStudio, but I will download free VC ++2005 express and check how it works. (I don't want to reinstall my old VS6 ) |
Did you try VC++ 2005? |
|
Back to top |
|
|
Kuan Hsu
Joined: 15 Apr 2006 Posts: 143 Location: Taiwan
|
Posted: Thu May 01, 2008 12:10 pm Post subject: Re: How to set a working directory |
|
|
flamaros wrote: | Kuan Hsu wrote: | I haven't plan to move the work directory like VisualStudio, but I will download free VC ++2005 express and check how it works. (I don't want to reinstall my old VS6 ) |
Did you try VC++ 2005? |
Sorry reply so late, last three week I worked at pm8:30~am5:30, so tired......
VC++ 2005 can set new folder and setup it's filters, now poseidon only force *.d to Sources; *.di to Interfaces, *.res to Resources, the others to Others.
Make poseidon's package explorer to like VC++, I need modify many codes in poseidon, haha, so if I change it, it will be later......
I make little change on rev.240 about package explorer, maybe a little convenience or not, maybe you can try it.... |
|
Back to top |
|
|
|