MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Falcor / build_falcor

Function build_falcor

tests/testing/build_falcor.py:11–23  ·  view source on GitHub ↗

Builds Falcor. Optionally issues a full rebuild.

(env, rebuild=False)

Source from the content-addressed store, hash-verified

9from core import Environment, config
10
11def build_falcor(env, rebuild=False):
12 '''
13 Builds Falcor. Optionally issues a full rebuild.
14 '''
15 args = [
16 str(env.cmake_exe),
17 "--build", str(env.cmake_dir),
18 "--config", str(env.cmake_config)
19 ]
20 print('Running: ' + ' '.join(args))
21 process = subprocess.Popen(args, stderr=subprocess.STDOUT)
22 process.communicate()[0]
23 return process.returncode == 0
24
25def main():
26 parser = argparse.ArgumentParser(description='Utility for building Falcor.')

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected