Lines Matching +full:path +full:- +full:is +full:- +full:absolute
7 # http://www.apache.org/licenses/LICENSE-2.0
10 # distributed under the License is distributed on an "AS IS" BASIS,
18 from pathlib import Path
22 "--flatc",
23 help="path of the Flat C compiler relative to the root directory",
25 parser.add_argument("--cpp-0x", action="store_true", help="use --cpp-std c++ox")
27 "--skip-monster-extra",
32 "--skip-gen-reflection",
38 # Get the path where this script is located so we can invoke the script from
40 script_path = Path(__file__).parent.resolve()
42 # Get the root path as an absolute path, so all derived paths are absolute.
43 root_path = script_path.parent.absolute()
44 tests_path = Path(root_path, "tests")
48 flatc_exe = Path(
54 # Find and assert flatc compiler is present.
57 flatc_path = Path(root_path, flatc_exe)
64 cmd += ["-o"] + [prefix]
66 cmd += ["-I"] + [include]