Add a directory for builtin lua scripts. Dehardcoded game mechanics are supposed to live there.

dont-compose-content
Petr Mikheev 4 years ago
parent 9a5229a821
commit b432a1a1c1

@ -1,3 +1,4 @@
add_subdirectory(mygui)
add_subdirectory(shaders)
add_subdirectory(vfs)
add_subdirectory(builtin_scripts)

@ -0,0 +1,8 @@
file(GLOB_RECURSE BUILTIN_SCRIPTS LIST_DIRECTORIES false RELATIVE ${CMAKE_CURRENT_SOURCE_DIR} CONFIGURE_DEPENDS "*")
foreach (f ${BUILTIN_SCRIPTS})
if (NOT ("CMakeLists.txt" STREQUAL "${f}"))
copy_resource_file("${CMAKE_CURRENT_SOURCE_DIR}/${f}" "${OpenMW_BINARY_DIR}" "resources/vfs/${f}")
endif()
endforeach (f)
Loading…
Cancel
Save