# Generate Java project based on C++ CMake

message("Generate Java pom.xml at ${CMAKE_CURRENT_BINARY_DIR}/pom.xml")
message(">> SOURCE_DIR: ${SOURCE_DIR}")
message(">> SOURCE_BINDINGS_DIR: ${SOURCE_BINDINGS_DIR}")
message(">> CRND_LIBRARY_PATH: ${CRND_LIBRARY_PATH}")

configure_file(${SOURCE_DIR}/pom.xml.template ${CMAKE_CURRENT_BINARY_DIR}/pom.xml @ONLY)

{'avg_line_length': 39.77777777777778, 'max_line_length': 88, 'alphanum_fraction': 0.7653631284916201, 'licenses': ['MIT'], 'repository_name': 'jgsogo/cpp-inside', 'path': 'examples/java/generate_java.cmake', 'size': 358, 'lang': 'CMake'}