On Jun 24, 2006, at 9:50 PM, Chris Case wrote: > Ok, I'm writting this with the hope that Eric will see it. I'm > trying to setup my project to use msvcgen. I've got something that > kinda works (it generates files), copied from CS... but to be > blunt, it doesn't produce working projects. Instead of poking > around, and playing with stuff till it works, I'd rather ask this > question: How would a project go about setting up MSVCGen to > produce working projects for a CS/CEL application? Could a tutorial > be written up, and some time spend on explaining how to customize > it for a given project's needs?
Normally, one would run CS/scripts/jamtemplate/createproject.sh. The skeleton project created by this script has msvcgen enabled by default, including support for CS and CEL. Consult the generated Jamfile or see the template used by createproject.sh, which you will find at CS/scripts/jamtemplate/Jamfile.template. At the very minimum, you need to invoke MsvcGenSubDir to tell it where to place the generated files; MsvcGenTemplateDir to tell it where the .tlib files are; MsvcGenWorkspace to tell it the name of the MSVC solution, and `MsvcGenVariable customize' to get #define __CRYSTAL_SPACE__ and so on. You'll also want to use MsvcGenConfig to set up search paths for CS and CEL. See Jamfile.template for a working example. There are also commented-out examples of customizing msvcgen which you will find near the bottom of Jamfile.template. The various Jam rules in CS/mk/jam/msvcgen.jam also are pretty well documented (in that file). > Any help on how to get this setup, and working towards a full blown > tutorial on this would be great. For most projects, it's as simple as invoking 'createproject.sh', followed by './configure' (in the new project directory), and then 'jam msvcgen'. No other steps are necessary usually. -- ES Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Crystal-main mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/crystal-main Unsubscribe: mailto:[EMAIL PROTECTED]
