[CastXML] Basic usage of castxml

Brad King brad.king at kitware.com
Wed Aug 10 09:11:16 EDT 2016


On 08/10/2016 08:53 AM, greg wrote:
> Thanks. castxml was lunched.
> I had this error:
> error: invalid argument '-std=c++11' not allowed with 'C/ObjC'
> To solve it i modify the file extension of "test.h" to "test.hpp".
> Now i have no error, but ... no message and no output.
> 
> i tried:
> castxml.exe --castxml-cc-msvc cl "Test.hpp" -o "c:\myoutput.xml"
> but it doesn't work better.

See `castxml --help` for usage.  You need to add the `--castxml-gccxml`
option to activate output.

-Brad



More information about the CastXML mailing list