Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

Project Importer plugin patch

(1/2) > >>

seb_seb0:
Hello,

I have bad news and good news.
The bad news:
   1 - the project importer plugin does not correctly imports workspace dependencies between projects for MSVC > version 6
   2 - the additionnal include directories are not imported as well.

The good news:
I have corrected these 2 problems in the patch attached.

I have tested it with MSVC8 projects & workspaces files from OpenCascade

Sebastien

PS: this plugin is VERY useful ! Since many open sources projects have VC project files, it is much faster than MSYS ./configure & make, and more convenient too. And for your information, it works better for importing MSVC 6 project files than the newest Visual Studio...
PS2: I plan to extend its functionnality to MSVC 10 projects & workspaces

reckless:
noticed it had some problems importing all the dependencies from VC projects so good job :).

MSVC10 support would indeed be nice to have in also.

if i can help let me know but im no super coder (especially not in c++).

mostly doing hobby work porting gnu utilities to windows and managing my own port of a quake engine (uses cb btw) which is also the reason why c++ newer caught onto me (quake uses c and asm).

seb_seb0:
I have started MSVC10 support.
Here is the second patch.

Warning: the MSVC10 is not completed yet. It is more a "stub" than anything else (it recognizes configurations and create appropriate targets. I still have to parse all the rest...)

It is not really difficult: it is XML format, and straightforward.
The ".sln" workspace file has not changed => I use the same as for MSVC7

The changes in FileFilters and Globals are minimal: it is just the addition of .vcxproj file extension


--- Quote from: reckless on November 26, 2010, 01:28:18 am ---if i can help let me know

--- End quote ---

For now, it is OK: it is mainly a small class to implement. I will continue to work on it tonight and tomorrow.

MortenMacFly:

--- Quote from: seb_seb0 on November 26, 2010, 06:11:19 pm ---For now, it is OK: it is mainly a small class to implement. I will continue to work on it tonight and tomorrow.

--- End quote ---
BTW: The patch is missing the most important two files: msvc10loader.cpp and msvc10loader.h. Without these there is not much I (we) can do... ;-)

I tried the first patch in the meantime. This seems to work OK.

seb_seb0:

--- Quote from: MortenMacFly on January 05, 2011, 08:02:01 am ---
--- Quote from: seb_seb0 on November 26, 2010, 06:11:19 pm ---For now, it is OK: it is mainly a small class to implement. I will continue to work on it tonight and tomorrow.

--- End quote ---
BTW: The patch is missing the most important two files: msvc10loader.cpp and msvc10loader.h. Without these there is not much I (we) can do... ;-)

I tried the first patch in the meantime. This seems to work OK.

--- End quote ---

oops. Here they are.
I am sorry if I leave this topic opened: I have received a lot of work recently, and it sucks up all my time...
Hopefully I will be able to finish it one day.

However, you should keep in mind that the plugin extension is currently not functionnal for MSVC10. It is currently mainly a "stub". I would be very surprised if they worked at all.
I attach also a few simple MSVC10 projects, for testing.

Sebastien

Navigation

[0] Message Index

[#] Next page

Go to full version