1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-29 03:19:44 +00:00
OpenMW/files/lua_api/CMakeLists.txt
2023-02-06 14:35:22 +01:00

27 lines
555 B
CMake

if (NOT DEFINED OPENMW_RESOURCES_ROOT)
return()
endif()
set(LUA_API_FILES
README.md
coroutine.doclua
global.doclua
math.doclua
string.doclua
table.doclua
openmw/async.lua
openmw/core.lua
openmw/nearby.lua
openmw/self.lua
openmw/ui.lua
openmw/util.lua
openmw/world.lua
openmw/types.lua
openmw/postprocessing.lua
openmw/debug.lua
)
foreach (f ${LUA_API_FILES})
copy_resource_file("${CMAKE_CURRENT_SOURCE_DIR}/${f}" "${OPENMW_RESOURCES_ROOT}" "resources/lua_api/${f}")
endforeach (f)