hi,
latley I run into the small problem of compiling and linking cuda,java,jni and so on. I got a working solution using
maven → compile java code
maven → ant wrapper → call javah to generate jni headers
maven → ant wrapper → call make files to compile c/cu code, make file depending on os
now I would like to simplify this process by reducing it to
maven → compile java
maven → ant wrapper → call javah to generate jni headers
maven → use ccptools to compile c/cu files
since I rather have all my compiling done in one configuration file instead of 1+n
(n number of supported operating systems, right now 3)
So I would like to use these tools
[url=“cpptasks: Compile tasks for Apache Ant - cpptasks for Apache Ant”]http://ant-contrib.sourceforge.net/cpptasks/index.html[/url]
but sadly nvcc is not in the list of supported compilers. So did somebody already set down and wrote an implementation for this compiler?
A list of supported compiler is here
if somebody has another idea how to solve this issue, feel free to respond, but please not several exec commands executed in ant/maven