versionlib/AMBuilder
author Nicholas Hastings <skamonkey@gmail.com>
Sun Apr 20 21:38:40 2014 -0400 (2014-04-20)
changeset 4323 142b0c03e6bb
parent 4188 89782d5fc91b
permissions -rw-r--r--
Update Nuclear Dawn gamedata.
     1 # vim: sts=2 ts=8 sw=2 tw=99 et ft=python:
     2 import os
     3 
     4 lib = builder.compiler.StaticLibrary('version')
     5 lib.compiler.includes += [
     6   os.path.join(builder.sourcePath, 'public')
     7 ]
     8 lib.compiler.defines.remove('SM_USE_VERSIONLIB')
     9 lib.compiler.sourcedeps += SM.generated_headers
    10 lib.sources += [
    11   'versionlib.cpp'
    12 ]
    13 task = builder.Add(lib)
    14 
    15 rvalue = task.binary