From 5931642cc2c769f72a4f6ce407c54b821b4efa4d Mon Sep 17 00:00:00 2001 From: Max Wash Date: Tue, 10 Mar 2026 19:13:01 +0000 Subject: [PATCH] cmake: update inteface functions to use xpcg --- cmake/Msg-Interface.cmake | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/cmake/Msg-Interface.cmake b/cmake/Msg-Interface.cmake index cc92f53..9c119f2 100644 --- a/cmake/Msg-Interface.cmake +++ b/cmake/Msg-Interface.cmake @@ -1,8 +1,8 @@ -find_program(IFC - NAMES ifc +find_program(XPCG + NAMES xpcg REQUIRED HINTS ${BUILD_TOOLS_DIR}) -message(STATUS "Found interface compiler: ${IFC}") +message(STATUS "Found interface generator: ${XPCG}") function(add_interface) set(options) @@ -20,9 +20,9 @@ function(add_interface) add_custom_command( OUTPUT ${header_path} - COMMAND ${IFC} ${arg_PATH} + COMMAND ${XPCG} ${arg_PATH} WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/${arg_PARENT_DIR} - COMMENT "Compiling interface: ${arg_NAME}") + COMMENT "Generating interface: ${arg_NAME}") add_custom_target(ifgen-${arg_NAME} ALL DEPENDS ${header_path})