Merge pull request #329 from meetpatty/master

Fix CMake prx exports build issue for projects building multiple prx's.
This commit is contained in:
Wouter Wijsman
2025-09-30 17:51:35 +03:00
committed by GitHub

View File

@@ -16,7 +16,7 @@ function(add_prx_module name)
get_filename_component(EXP_FILE_NAME ${FILE} NAME_WE)
# Define the output .c file path
set(GENERATED_C_FILE ${CMAKE_BINARY_DIR}/${EXP_FILE_NAME}.c)
set(GENERATED_C_FILE ${CMAKE_CURRENT_BINARY_DIR}/${EXP_FILE_NAME}.c)
# Add a custom command for each .exp file to generate a .c file
add_custom_command(