Re: [CMake] Building java files from cmake

2009-03-20 Thread ankit jain
2009/3/20 Mattias Helsing > Hi Ankit, > > I have no xp with cmake for java. I was just pointing out my first > immediate reaction to your script code. > > Perhaps you should try things in smaller scale, e.g. try to create a > custom_command that compiles one java file. Also - during development >

Re: [CMake] Building java files from cmake

2009-03-20 Thread ankit jain
2009/3/20 Mattias Helsing > Hi Ankit, > > The set command doesn't work like you think. > set(X a b c) creates a list called X with contents a;b;c. So you have the > list > JAVADIST with contents > (/myjava/jdk/1.4.2/Linux/;XERCESDIR;/myjava/XML4J/4.3.4) > > try > set(JAVADIST /myjava/jdk/1.4.2/Li

[CMake] Building java files from cmake

2009-03-19 Thread ankit jain
Hi all, I have a folder "mainfolder" with sufolder "innerfolder" which has soem java files. i want to create it class files. for that iam using add_sutom_command to run the javac command but still my class files are not generated. The content of cmakelist of mainfolder is: project(mainfolder) cma

[CMake] Building Java CNI

2008-06-09 Thread Volodymyr Buell
Hi I'm trying to build C++ & Java application using GCJ's CNI interface. But there no info about how to do that. I even don't know from where to start... Please help :) -- Thanks, Volodymyr ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mai

[CMake] Building Java

2008-02-04 Thread Benjamin Reed
I've got a JNI library which has some C code and some java. It seems like cmake has some support for "compiling" java files, but I really am not sure how to set up my targets. How do I turn a set of *.java files into *.class files? Also, it looks like there's no specific support for creating a .