I want Code::Blocks to import Visual C++ workspace and projects correctly. Please... :oops:
can you give test examples of where it goes wrong ?
Thanks for killerbot's concerning.
I had posted the first help topic "
here" and Morten had kindly done a patch into svn5208 built. After testing svn5208, I found it also can't import Visual C++ workspace and projects correctly. I had "
replied" in the svn5208 topic.
I thought the problems are that Code::Blocks may not handle the dependency of each other projects correctly when importing VC6 workspace, and does not import the pre/post commands correctly.
[For the problem of dependency]For NetHack3.4.3, after doing the setup before compiling, we should import the nethack.dsw VC6 workspace file. After importing finished, I found Code::Blocks did not handle the dependency. I think it is easy to see.
[For the problem of pre/post commands]Morten did a patch to import post commands, but it still can't work correctly. I guess the "TAB character" of the post build commands in VC6 project files means "new line".
for example, there is the post commands in "makedefs.cbp" imported form VC6 project file of makedefs:
echo chdir ..\util chdir ..\util chdir
echo makedefs.exe -v makedefs.exe -v
echo makedefs.exe -o makedefs.exe -o
echo makedefs.exe -p makedefs.exe -p
the first line "echo chdir ..\util chdir ..\util chdir" should be(or mean) the three commands: "echo chdir ..\util", "chdir ..\util" and "chdir".
In the "makedefs.dsp" file(VC6 Project), this single line of three commands is split by TAB characters.
Equally, the line "echo makedefs.exe -v makedefs.exe -v" should be(or mean) the two commands: "echo makedefs.exe -v" and "makedefs.exe -v".
Finally, I am afraid my poor English ability will make you confused. :oops: