This commit is contained in:
Hartmut Seichter 2019-01-31 16:54:12 +01:00
parent 62281699ea
commit 7037abbcb6
11 changed files with 114 additions and 31 deletions

View file

@ -1,36 +1,39 @@
set(hdrs
include/pw/scripting/script.hpp
)
include/pw/scripting/script.hpp
)
set(srcs
src/script.cpp
# src/script_core.hpp
src/script.cpp
src/script_core.cpp
# src/script_system.hpp
src/script_system.cpp
# src/script_scene.hpp
src/script_io.cpp
src/script_scene.cpp
# src/script_visual.hpp
src/script_visual.cpp
src/runtime_lua.hpp
src/runtime_lua.cpp
)
src/runtime_lua.hpp
src/runtime_lua.cpp
)
add_library(pwscripting
STATIC
${hdrs}
${srcs}
)
STATIC
${hdrs}
${srcs}
)
target_include_directories(
pwscripting
PRIVATE
${CMAKE_SOURCE_DIR}/src/deps/lua-5.3.5/src
${CMAKE_SOURCE_DIR}/src/deps/sol2-2.20.6
PUBLIC
include
)
pwscripting
PRIVATE
${CMAKE_SOURCE_DIR}/src/deps/lua-5.3.5/src
${CMAKE_SOURCE_DIR}/src/deps/sol2-2.20.6
PUBLIC
include
)
target_link_libraries(pwscripting lualib pwcore pwsystem pwscene pwvisual)
target_link_libraries(pwscripting
lualib
pwcore
pwsystem
pwio
pwscene
pwvisual)