File: generate_ninja_targets.pl.template

package info (click to toggle)
polymake 4.15-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 35,892 kB
  • sloc: cpp: 168,945; perl: 43,410; javascript: 31,575; ansic: 3,007; java: 2,654; python: 632; sh: 268; xml: 117; makefile: 61
file content (21 lines) | stat: -rw-r--r-- 1,136 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# This is a template for an optional script generating a list of non-standard build targets
# and/or ninja rules for a bundled or standalone extension.
# Please edit it according to your needs and rename it to generate_ninja_targets.pl
# If you don't need it, you can safely delete this file right now.

# This script may contain any perl code doing the following:
#
# - Print ninja commands like variable assignments, build commands for certain targets, or build rules.
# Rules which might be shared with other extensions may also go in a separate file rules.ninja
# placed in the same directory (support).  They will be included automatically.
#
# - Return a list of build targets to be included in top-level aliases like 'all' or 'clean',
#   for example:
#
#     return ( all => 'filename' )
#
# This script can find the configuration values of the extension in the global hash %ConfigVars.
# $ConfigVars{srcroot} always points to the top directory of the extension.
# The global variable $root always points to the top directory of polymake core system.

# Examples can be found in bundled extensions java, jreality, and javaview.