fuchsrich at se-core.net
Tue Aug 1 14:18:41 EDT 2006
To answer my own question, yes don't call ADD_EXECUTABLE with java
files, use ADD_LIBRARY.
> 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.
> In the root dir:
> PROJECT(SECORE CXX Java)
> # Recurse into the common, services, components, products, externals
> # and test subdirectories.
> In common dir
> In the data_model_class_generator dir:
> # List all of the source files to compile
> SET(DATA_MODEL_CLASS_GENERATOR_SRCS ClassAttribute.java
> CPPConstruct.java DataModelClass.java GenerateCPPClasses.java)
> # Compile the data model class generator
> CMake mailing list
> CMake at cmake.org
More information about the CMake