mirror of
https://github.com/jerryscript-project/jerryscript.git
synced 2025-12-15 16:29:21 +00:00
Add ${PYTHON_EXECUTABLE} for "Generating doctests" (#4496)
On win32, the ${PYTHON_EXECUTABLE} should be specified, otherwise the python script
can not be executed properly.
JerryScript-DCO-1.0-Signed-off-by: Yonggang Luo luoyonggang@gmail.com
This commit is contained in:
parent
9bc0f2fd3f
commit
69ce755593
@ -85,7 +85,7 @@ endif()
|
||||
# Add custom command to run doctest generator if any of the MarkDown sources
|
||||
# changes.
|
||||
add_custom_command(
|
||||
COMMAND ${GEN_DOCTEST} -d ${CMAKE_CURRENT_BINARY_DIR} ${DOC_FILES}
|
||||
COMMAND ${PYTHON_EXECUTABLE} ${GEN_DOCTEST} -d ${CMAKE_CURRENT_BINARY_DIR} ${DOC_FILES}
|
||||
DEPENDS ${GEN_DOCTEST} ${DOC_FILES}
|
||||
OUTPUT ${DOCTEST_COMPILE} ${DOCTEST_LINK} ${DOCTEST_RUN}
|
||||
COMMENT "Generating doctests"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user