Ok.. but making them as PECL's is a good idea too... I might do that...

On 7/21/06, Roel Vanhout <roel.vanhout@gmail.com > wrote:
No, I'm generating C++ to be used stand-alone. I like the way database
access works with propel/php and I'd like to do the same in my C++
applications. I'll 'port' as much of Propel & Creole to get it to work
for sqlite databases, in standalone C++ applications, and only use php
as 'generator language'.

cheers,

roel


On 7/21/06, Pedram Nimreezi <zenstyle@gmail.com> wrote:
> Are you generating c++ classes to be used as php pecl's? I could maybe help
> with that
> targetPlatform could effectively be ignored with Zend Engine Version
> detection in that regard...
>
>
>
>
>  On 7/21/06, Roel Vanhout < roel.vanhout@gmail.com> wrote:
> >
>  Hi,
>
> I'm trying to get propel to generate c++ classes. I've progressed
> nicely, but to do things neatly, I need a way to specify which
> OMBuilder to use (I need to override build() and getClassFilePath()).
> However I haven't yet found a way; is there a clean way to specify
> that the factory should instantiate my CPP_OMBuilder and not OMBuilder
> like there is for the other classes (like the other classes can be set
> in the properties file)? If not, would you be willing to make it
> configurable? In that case, I'd like to see that file
> (generator\classes\propel\engine\builder\om\OMBuilder.php)
> moved to
> the php5/ subdirectoy, so that I could keep all language-specific
> things in a separate directory.
> Also, I noticed the following line in the default.properties:
>
> propel.targetPlatform = php5
>
> Can I leverage this to make generating c++ classes easier? What is it
> used for? Thanks.
>
> cheers,
>
> roel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@propel.tigris.org
> For additional commands, e-mail: dev-help@propel.tigris.org
>
>
>
>
> --
> ~
> Pedram Nimreezi -- Senior Engineer
> Major Computing, Inc
> --
>
> Not by age, but by knowledge is wisdom acquired.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@propel.tigris.org
For additional commands, e-mail: dev-help@propel.tigris.org




--
~
Pedram Nimreezi -- Senior Engineer
Major Computing, Inc
--

Not by age, but by knowledge is wisdom acquired.