IRC logs for #opendune on OFTC at 2011-11-13
⏴ go to previous day
06:26:16 *** Sonarpulse has joined #openDune
06:28:45 <Sonarpulse> I've got a basic visual studio: how to create a project so that the project/solution files are in a sub folder of the project root
09:30:52 *** Alberth has joined #openDune
09:30:52 *** ChanServ sets mode: +o Alberth
15:39:54 *** Tomaz^ has joined #openDune
18:04:49 *** Sonarpulse has joined #openDune
18:06:27 <Sonarpulse> Asked this yesterday, but I don't think anyone was online
18:06:44 <Sonarpulse> I noticed the project file of openDUNE is in a sub folder,
18:07:17 <Sonarpulse> but it appears that the root project folder is not the sub folder but /trunk
18:08:09 <Sonarpulse> I was trying to set up a project of my own this way, but I couldn't figure out how
18:10:16 <glx> there's nothing to set IIRC
18:11:41 <glx> when adding files to the project we use relative path
18:36:16 <Sonarpulse> the the project directory is still /trunk/projects ?
18:36:44 <Sonarpulse> I tried having the setup wizard scan /../ to do just that
18:40:06 <glx> we create project files "by hand"
18:41:00 <glx> I usually start with an empty project, then I move project files where I want, then I start to add files in project
18:41:20 <glx> and finally I "write" a project generator
18:43:03 <Sonarpulse> that sounds like a good method
18:43:26 <Sonarpulse> I found that what I did worked initially, but then when I rescanned the files
18:43:53 <Sonarpulse> they lost their hierarchy in solution tree, and got the shortcut logo like an external dependacy
18:44:08 <Sonarpulse> I tried the same thing with your project file and that didn't happen
18:44:27 <Sonarpulse> is the "project generator" made within visual studio?
18:44:42 <glx> no it's a bash script with awk stuff
18:45:07 <glx> for openttd there's also a vbs
18:47:22 <Sonarpulse> I guess the project file is text, but some of the other ones are binary
18:47:31 <glx> I should try to do a powershell script one day
18:47:52 <glx> project and solution are plain xml
18:47:59 <Sonarpulse> instead of the bash or vbs?
18:52:43 <Xaroth|Work> all of msvc's 'needed' files are xml-ish
18:52:50 <Xaroth|Work> the .user and related files aren't needed
19:03:16 <Sonarpulse> that helps. Well I thought you could replace the bash script and only update the project/solutino files when on windows
19:03:58 <Sonarpulse> well i guess I will try out what you sdugesetsted
20:10:02 <glx> of course for windows only it's easier to just update project/solution via MSVC
20:12:46 <Alberth> he may find that out by himself in time :)
20:13:44 <glx> btw the 3rd line before he leaves was the method used before I added the scripts ;)
20:14:53 <glx> TrueBrain creates new files, then I fix the project
20:15:17 <Alberth> so perhaps he does have a dual development system: "... only update ... when on windows"
20:15:52 <glx> that's ok if the source is for yourself only
20:16:03 <glx> in our case it was not possible
20:16:26 <Alberth> if you fix by reverting the commit, a more useful solution is found quickly :p
continue to next day ⏵