Administrator
|
If you look at the JOCL project source code (which is the one I'm most familiar with, since I just had to work on this stuff recently), jocl/make/build.xml shows how the gluegen tool is invoked with an "output root directory", which should also be a command-line argument to gluegen. The config files (like jocl/make/config/cl-common.cfg) use JavaOutputDir and NativeOutputDir to specify output directories relative to that root directory. So it should be entirely possible for you to have a separate build directory and keep your source directory read-only -- that's what JOCL does also. |
Ok - looked in the GlueGenTask.java source for the ant task and saw:
gluegenCommandline.createArgument().setValue("-O" + outputRootDir); I assume this is an undocumented command line argument for what is needed and will try it. On 7/22/2014 9:27 PM, Wade Walker [via jogamp] wrote: If you look at the JOCL project source code (which is the one I'm most familiar with, since I just had to work on this stuff recently), jocl/make/build.xml shows how the gluegen tool is invoked with an "output root directory", which should also be a command-line argument to gluegen. The config files (like jocl/make/config/cl-common.cfg) use JavaOutputDir and NativeOutputDir to specify output directories relative to that root directory. So it should be entirely possible for you to have a separate build directory and keep your source directory read-only -- that's what JOCL does also. |
In reply to this post by Wade Walker
By the way - Thanks for the help. My DLL and my app are all now happily buidling and running together.
What is the preferred official donation mechanism ? I will try to convince my boss to do so :) |
Administrator
|
On 07/25/2014 01:03 PM, peterk [via jogamp] wrote:
> By the way - Thanks for the help. My DLL and my app are all now happily > buidling and running together. > What is the preferred official donation mechanism ? I will try to convince my > boss to do so :) Via one of us, contacts: <http://jogamp.org/wiki/index.php/Maintainer_and_Contacts> You may ask for a specific 'cause', e.g. stuff to buy for the project, a dinner for participants at a conference, whole conference costs .. or .. whatever you have in mind. ~Sven signature.asc (894 bytes) Download Attachment |
Free forum by Nabble | Edit this page |