Merge pull request #310 from santiago046/addprxmodule-fixes

CMake: Fix exports.exp not being found in add_prx_module
This commit is contained in:
Wouter Wijsman
2025-07-02 11:50:17 +02:00
committed by GitHub

View File

@@ -23,6 +23,7 @@ function(add_prx_module name)
OUTPUT ${GENERATED_C_FILE}
COMMAND psp-build-exports -b ${FILE} > ${GENERATED_C_FILE}
DEPENDS ${FILE}
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}
COMMENT "Generating ${EXP_FILE_NAME}.c from ${EXP_FILE_NAME}.exp for target ${name}"
)