mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-06 00:07:29 -04:00
Regenerate qgsexpression_texts.cpp if process_function_template.py changes
This commit is contained in:
parent
2c41d4fbe0
commit
a56212a082
@ -1049,7 +1049,7 @@ string(REPLACE "\)" "\\)" JSON_HELP_FILES "${JSON_HELP_FILES}")
|
||||
add_custom_command(OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/qgsexpression_texts.cpp
|
||||
COMMAND ${Python_EXECUTABLE} ${CMAKE_SOURCE_DIR}/scripts/process_function_template.py ${CMAKE_CURRENT_BINARY_DIR}/qgsexpression_texts.cpp.temp
|
||||
COMMAND ${CMAKE_COMMAND} -DSRC=${CMAKE_CURRENT_BINARY_DIR}/qgsexpression_texts.cpp.temp -DDST=${CMAKE_CURRENT_BINARY_DIR}/qgsexpression_texts.cpp -P ${CMAKE_SOURCE_DIR}/cmake/CopyIfChanged.cmake
|
||||
DEPENDS ${JSON_HELP_FILES}
|
||||
DEPENDS ${JSON_HELP_FILES} ${CMAKE_SOURCE_DIR}/scripts/process_function_template.py
|
||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||
)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user