LievenQ wrote:
The problem is that visual studio doesn't have a system like pkg-config. To solve this, I was thinking about creating a pkg-config like system for visual studio myself. The package files would be simple visual c++ 2005 proprety sheets, so that they are fully supported with visual studio by itself. These property sheets should be placed in a folder, and my task will then look up packages in that folder, and use the appropriate property sheets.

How are you planning on generating the property sheets? With pkg-config, they're usually generated by the configure utility or similar.
Now I'm not sure in which folder I should place these property sheets though. I could create a subfolder in the nant directory, but I don't think that would be a good idea, because those files aren't really part of nant itself. I could also create a folder in the root, but that wouldn't be too polite to the user's system. Program Files maybe? Anybody got another suggestion?
I think you hinted on the right direction above, when you said you were thinking about creating a pkg-config like system. That means you should be thinking in terms of win-pkg-config (to coin a name), instead of NAnt. I'm also wondering why you think this is important or useful. It's useful in the GNU configure/auto-conf, because there are many packages generated that way, so that the configuration files can be provided with the kit and installed into the pkg-config lib directory. I don't know that there are many Visual C++ users who will be building against such packages, but if there are, you need to use the config files that come with them, i.e. pkg-config syntax, not property files. On the other hand, if you're thinking about packages that are intended for VC++ development, I'd expect Visual Studio project and/or solution files to be the approach.

Gary



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
nant-developers mailing list
nant-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-developers

Reply via email to