Richard Fuchs wrote:
> After hunting through CMakeJavaInformation.cmake, it doesn't seem to
> have a CMAKE_Java_LINK_EXECUTABLE target/property (or whatever the
> correct name for it is). Does this mean that you can't call
> ADD_EXECUTABLE with java files and I need to use ADD_LIBRARY or
> something? CMakeLists.txt files below.
[snip]
> # Compile the data model class generator
> ADD_EXECUTABLE(./bin/dm_class_generator ${DATA_MODEL_CLASS_GENERATOR_SRCS})
Don't java programs have to be run using "java myprog"? CMake has no
notion of a java executable. Try ADD_LIBRARY to create a jar.
-Brad
_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake