update
This commit is contained in:
parent
acfff07ec5
commit
df56d476f4
@ -68,7 +68,8 @@ function(myx_uncrustify TARGET_NAME)
|
|||||||
|
|
||||||
set(__fixed_config ${PROJECT_BINARY_DIR}/uncrustify-${TARGET_NAME}.cfg)
|
set(__fixed_config ${PROJECT_BINARY_DIR}/uncrustify-${TARGET_NAME}.cfg)
|
||||||
|
|
||||||
add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/uncrustify-${TARGET_NAME}.cfg
|
add_custom_command(OUTPUT ${__fixed_config}
|
||||||
|
DEPENDS ${ARG_CONFIG}
|
||||||
COMMAND ${UNCRUSTIFY_EXE} --update-config-with-doc
|
COMMAND ${UNCRUSTIFY_EXE} --update-config-with-doc
|
||||||
-c ${ARG_CONFIG} -o ${__fixed_config})
|
-c ${ARG_CONFIG} -o ${__fixed_config})
|
||||||
list(APPEND __options -c ${__fixed_config})
|
list(APPEND __options -c ${__fixed_config})
|
||||||
|
Loading…
Reference in New Issue
Block a user