Lines Matching +full:cmake +full:- +full:args
2 # -*- coding: utf-8 -*-
6 # SPDX-License-Identifier: MIT
26 """Generates build files for either bazel or cmake experimental builds using filelist.json
28 python scripts/generate_build_files.py --bazel
29 python scripts/generate_build_files.py --cmake
31 Writes generated file to the bazel BUILD file located under src/ if using --bazel flag.
32 Writes generated file to the CMake CMakeLists.txt file located under src/ if using --cmake flag.
98 # SPDX-License-Identifier: MIT
228 # -------------------------------------
241 # Setup data-type and data-layout files to include
262 # -------------------------------------
275 parser.add_argument("--bazel", action="store_true")
276 parser.add_argument("--cmake", action="store_true")
277 args = parser.parse_args() variable
281 if args.bazel:
288 if args.cmake:
295 if not args.cmake and not args.bazel:
296 … print("Supply either --bazel or --cmake flag to generate build files for corresponding build")