--- CMakeLists.txt.orig 2021-03-16 13:36:34 UTC +++ CMakeLists.txt @@ -536,25 +536,25 @@ else() install(TARGETS ${EXECUTABLE_NAME} RUNTIME DESTINATION ${CMAKE_INSTALL_FULL_BINDIR}) endif() -find_package(PythonInterp) -if(PYTHONINTERP_FOUND) - add_custom_command( - OUTPUT ${CMAKE_BINARY_DIR}/script_reference.html - COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/compile_script_docs.py ${CMAKE_BINARY_DIR}/script_reference.html - WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} - COMMENT "Building script reference documentation.") - add_custom_target(script_reference ALL DEPENDS ${CMAKE_BINARY_DIR}/script_reference.html) - - # Matches install logic above. - if(WIN32) - install(FILES ${CMAKE_BINARY_DIR}/script_reference.html DESTINATION .) - elseif(APPLE) - install(FILES ${CMAKE_BINARY_DIR}/script_reference.html DESTINATION "EmptyEpsilon.app/Contents/Resources") - elseif(NOT ANDROID) - # DOCDIR already has PROJECT_NAME (EmptyEpsilon) appended (from CMake docs) - install(FILES ${CMAKE_BINARY_DIR}/script_reference.html DESTINATION "${CMAKE_INSTALL_FULL_DOCDIR}") - endif() -endif() +#find_package(PythonInterp) +#if(PYTHONINTERP_FOUND) +# add_custom_command( +# OUTPUT ${CMAKE_BINARY_DIR}/script_reference.html +# COMMAND ${PYTHON_EXECUTABLE} ${CMAKE_SOURCE_DIR}/compile_script_docs.py ${CMAKE_BINARY_DIR}/script_reference.html +# WORKING_DIRECTORY ${CMAKE_SOURCE_DIR} +# COMMENT "Building script reference documentation.") +# add_custom_target(script_reference ALL DEPENDS ${CMAKE_BINARY_DIR}/script_reference.html) +# +# # Matches install logic above. +# if(WIN32) +# install(FILES ${CMAKE_BINARY_DIR}/script_reference.html DESTINATION .) +# elseif(APPLE) +# install(FILES ${CMAKE_BINARY_DIR}/script_reference.html DESTINATION "EmptyEpsilon.app/Contents/Resources") +# elseif(NOT ANDROID) +# # DOCDIR already has PROJECT_NAME (EmptyEpsilon) appended (from CMake docs) +# install(FILES ${CMAKE_BINARY_DIR}/script_reference.html DESTINATION "${CMAKE_INSTALL_FULL_DOCDIR}") +# endif() +#endif() add_custom_target(update_locale COMMAND sed -i "/^#: /d" resources/locale/en.po