2023-02-06 13:35:22 +00:00
|
|
|
if (NOT DEFINED OPENMW_RESOURCES_ROOT)
|
|
|
|
return()
|
|
|
|
endif()
|
|
|
|
|
2021-04-02 17:42:19 +00:00
|
|
|
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
|
2022-03-12 23:38:36 +00:00
|
|
|
openmw/types.lua
|
2022-05-14 01:58:00 +00:00
|
|
|
openmw/postprocessing.lua
|
2022-02-03 01:05:43 +00:00
|
|
|
openmw/debug.lua
|
2021-04-02 17:42:19 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
foreach (f ${LUA_API_FILES})
|
2023-02-06 13:35:22 +00:00
|
|
|
copy_resource_file("${CMAKE_CURRENT_SOURCE_DIR}/${f}" "${OPENMW_RESOURCES_ROOT}" "resources/lua_api/${f}")
|
2021-04-02 17:42:19 +00:00
|
|
|
endforeach (f)
|