/apps/twnlua: fix dest folder for docgen
This commit is contained in:
parent
d9df3f9b04
commit
3d10e1782a
@ -20,14 +20,14 @@ add_custom_command(
|
|||||||
)
|
)
|
||||||
|
|
||||||
add_custom_command(
|
add_custom_command(
|
||||||
OUTPUT ${CMAKE_SOURCE_DIR}/data/scripts/twnapi.lua
|
OUTPUT ${TWN_OUT_DIR}/data/scripts/twnapi.lua
|
||||||
COMMAND ${PYTHON3} ${CMAKE_CURRENT_SOURCE_DIR}/docgen.py $ENV{TWNROOT}/share/twn_api.json > ${CMAKE_SOURCE_DIR}/data/scripts/twnapi.lua
|
COMMAND ${PYTHON3} ${CMAKE_CURRENT_SOURCE_DIR}/docgen.py $ENV{TWNROOT}/share/twn_api.json > ${TWN_OUT_DIR}/data/scripts/twnapi.lua
|
||||||
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/docgen.py $ENV{TWNROOT}/share/twn_api.json
|
DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/docgen.py $ENV{TWNROOT}/share/twn_api.json
|
||||||
)
|
)
|
||||||
|
|
||||||
add_custom_target(
|
add_custom_target(
|
||||||
twnlua_docgen ALL
|
twnlua_docgen ALL
|
||||||
DEPENDS ${CMAKE_SOURCE_DIR}/data/scripts/twnapi.lua
|
DEPENDS ${TWN_OUT_DIR}/data/scripts/twnapi.lua
|
||||||
)
|
)
|
||||||
|
|
||||||
add_compile_definitions(LUA_32BITS)
|
add_compile_definitions(LUA_32BITS)
|
||||||
|
Loading…
Reference in New Issue
Block a user