[CMake] FortranCInterface generating header correctly?
Giovanni Azua
bravegag at gmail.com
Thu Mar 22 08:54:16 EDT 2012
Hi Michael,
Thank you, I understand now :) it works for me.
Thanks a lot.
Best regards,
Giovanni
On Mar 21, 2012, at 6:01 PM, Michael Wild wrote:
> Hi Giovanni
>
> I think you misunderstand what FortranCInterface.cmake does. It doesn
> *not* generate signatures, it only generates macros to handle the
> *name-mangling* for you. You still have to provide the signatures
> yourself, using the defined macros. E.g. (I hope I get this one right,
> it's been quite some time I last did this...):
>
> void F_ADDCOLSQ(int M, int N, double* A, int LDA, double* Q, int LDQ,
> int K, int P, double* TAU, double* WORK, int* info);
>
>
> I hope this gets you started.
>
> Michael
> --
>
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.cmake.org/mailman/listinfo/cmake
More information about the CMake
mailing list