How do I force a .cpp extension for my xs generated files?
The
'XS' => {'MyPackage.xs' => 'MyPackage.cpp'},
option for ExtUtils::MakeMaker::WriteMakefile()
is not working (no cd file gets generated).
How do I resolve this?
'CCFLAGS' => ' -TP ', # compile as C++, cl.exe specific
will work for MSVS, but that's not portable (it'd be easier to have a .cpp extension)
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com