You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### When build by ya make - Run a program from arcadia.
4597
+
### When exporting to other build systems (Cmake, Gradle, ...) - Run a python script __main__.py in tool project. Of course,
4598
+
### for exporting __main__.py must exists in tool project and must support execute by system Python3
4599
+
### These macros are similar: RUN_PROGRAM, RUN_PYTHON3, RUN_LUA, PYTHON.
4600
+
###
4601
+
### Parameters:
4602
+
### - tool_path - Path to the directory of the tool.
4603
+
### - args... - Program arguments. Relative paths listed in TOOL, IN, OUT, STDOUT become absolute.
4604
+
### - CWD dir - Absolute path of the working directory.
4605
+
### - ENV key=value... - Environment variables.
4606
+
### - TOOL tools... - Auxiliary tool directories.
4607
+
### - IN[_NOPARSE] inputs... - Input files. NOPARSE inputs are treated as textual and not parsed for dependencies regardless of file extensions.
4608
+
### - OUT[_NOAUTO] outputs... - Output files. NOAUTO outputs are not automatically added to the build process.
4609
+
### - STDOUT[_NOAUTO] output - Redirect the standard output to the output file.
4610
+
### - OUTPUT_INCLUDES output_includes... - Includes of the output files that are needed to build them.
4611
+
### - INDUCED_DEPS $VARs... - Dependencies for generated files. Unlike `OUTPUT_INCLUDES` these may target files further in processing chain.
4612
+
### In order to do so VAR should be filled by PREPARE_INDUCED_DEPS macro, stating target files (by type) and set of dependencies
4613
+
###
4614
+
### For absolute paths use ${ARCADIA_ROOT} and ${ARCADIA_BUILD_ROOT}, or
4615
+
### ${CURDIR} and ${BINDIR} which are expanded where the outputs are used.
4616
+
### Note that Tool is always built for the host platform, so be careful to provide that tool can be built for all Arcadia major host platforms (Linux, MacOS and Windows).
0 commit comments