mirror of https://github.com/auygun/kaliber.git
12 lines
298 B
Plaintext
12 lines
298 B
Plaintext
# Build a shared library for Android. Build an executable for other platforms.
|
|
template("game") {
|
|
if (target_os == "android") {
|
|
_target_type = "shared_library"
|
|
} else {
|
|
_target_type = "executable"
|
|
}
|
|
target(_target_type, target_name) {
|
|
forward_variables_from(invoker, "*")
|
|
}
|
|
}
|