Файл настроек убран из перечня исходников

This commit is contained in:
Andrei Astafev 2023-12-21 16:09:22 +03:00
parent 92e3d3441d
commit 42216b4f4f

View File

@ -65,7 +65,6 @@ function(myx_uncrustify TARGET_NAME)
endif() endif()
endforeach() endforeach()
target_sources(${TARGET_NAME} PRIVATE ${ARG_CONFIG})
set(__fixed_config ${PROJECT_BINARY_DIR}/uncrustify-${TARGET_NAME}.cfg) set(__fixed_config ${PROJECT_BINARY_DIR}/uncrustify-${TARGET_NAME}.cfg)
add_custom_command(OUTPUT ${__fixed_config} add_custom_command(OUTPUT ${__fixed_config}
DEPENDS ${ARG_CONFIG} DEPENDS ${ARG_CONFIG}