···311311312312option(XRT_BUILD_SAMPLES "Enable compiling sample code implementations that will not be linked into any final targets" ON)
313313set(XRT_IPC_MSG_SOCK_FILENAME monado_comp_ipc CACHE STRING "Service socket filename")
314314+set(XRT_IPC_SERVICE_PID_FILENAME monado.pid CACHE STRING "Service pidfile filename")
315315+set(XRT_OXR_RUNTIME_SUFFIX monado CACHE STRING "OpenXR client library suffix")
314316315317# cmake-format: on
316318
+3
doc/changes/xrt/mr.1567.md
···11+Add `XRT_IPC_SERVICE_PID_FILE_NAME` cmake variable to configure the name of pid file.
22+33+Add `XRT_OXR_RUNTIME_SUFFIX` cmake variable to configure the suffix of the output openXR library.
+2-3
src/xrt/auxiliary/util/u_process.c
···99 */
10101111#include "xrt/xrt_config.h"
1212+#include "xrt/xrt_config_build.h"
12131314#ifdef XRT_OS_LINUX
1414-1515-#define PID_FILE_NAME "monado.pid"
16151716#ifdef XRT_HAVE_LIBBSD
1817#include <bsd/libutil.h>
···2827XRT_MAYBE_UNUSED static inline int
2928get_pidfile_path(char *buf)
3029{
3131- int size = u_file_get_path_in_runtime_dir(PID_FILE_NAME, buf, PATH_MAX);
3030+ int size = u_file_get_path_in_runtime_dir(XRT_IPC_SERVICE_PID_FILENAME, buf, PATH_MAX);
3231 if (size == -1) {
3332 U_LOG_W("Failed to determine runtime dir, not creating pidfile");
3433 return -1;