MCPcopy Create free account
hub / github.com/GRAnimated/MinecraftLCE / create_build_dir

Function create_build_dir

tools/setup.py:158–166  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

156 return setup.ROOT / "build"
157
158def create_build_dir():
159 build_dir = setup.ROOT / "build"
160 if build_dir.is_dir():
161 print(">>> build directory already exists: nothing to do")
162 return
163
164 subprocess.check_call(
165 "cmake -GNinja -DCMAKE_BUILD_TYPE=RelWithDebInfo -DCMAKE_TOOLCHAIN_FILE=toolchain/ToolchainNX64.cmake -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -B build/".split(" "))
166 print(">>> created build directory")
167
168
169def main():

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected