Skip to content

Instantly share code, notes, and snippets.

View paulocoutinhox's full-sized avatar

Paulo Coutinho paulocoutinhox

View GitHub Profile
@sasq64
sasq64 / djinni.cmake
Last active May 17, 2019 16:45
Automate creation of djinni targets
# ADD_DJINNI_TARGET(name java_package)
#
# Set up a custom command that will run djinni on name.idl and
# generate variables such as NAME_ALL_SOURCES for inclusion in
# real build targets.
#
# These variables should be set by the caller:
# DJINNI_CMD - The djinni command to run, for instance
# 'java -jar ${CMAKE_CURRENT_SOURCE_DIR}/extras/djinni.jar'
#