User forums > Using Code::Blocks
Trying to build a cross-platform project
mirai:
There's another solution to this kind of problems.
In Windows you can use linkd.exe tool from Resource Kit Tools http://www.microsoft.com/downloads/en/details.aspx?familyid=9d467a69-57ff-4ae7-96ee-b18c4790cffd to link one directory into another on NTFS drive.
This is similar to unix symbolic links, but works only with directories. This way you can link all you need into project tree and use only short relative paths within project. Also, you can make few scripts to setup and remove links to make this approach friendly to VCS.
vdave420:
--- Quote from: oBFusCATed on June 01, 2011, 12:36:40 pm ---
--- Quote from: vdave420 on June 01, 2011, 10:10:00 am ---Yikes. The problem with that is the two platforms have completely different path schemes, so it's not possible to have a single fully-path-qualified command be sufficient for both systems.
--- End quote ---
I've meant to test it, in order to verify that the command is executed.
Another test you could try is to enter `echo "test"`, to see if it will be printed in the output...
--- End quote ---
I've tried that, and it didn't seem to work. I think the caching might be to blame here, as it seemed to work intermittently for me last night.
Navigation
[0] Message Index
[*] Previous page
Go to full version