slowly getting tracktion again
This commit is contained in:
parent
a5dea1ede1
commit
dd23fa811a
29 changed files with 685 additions and 380 deletions
|
@ -1 +1,32 @@
|
|||
add_subdirectory(src)
|
||||
#add_subdirectory(src)
|
||||
|
||||
|
||||
set(hdrs
|
||||
include/pw/scripting/script.hpp
|
||||
include/pw/scripting/scripting.hpp
|
||||
)
|
||||
|
||||
set(srcs
|
||||
src/script.cpp
|
||||
)
|
||||
|
||||
add_library(pwscripting
|
||||
STATIC
|
||||
${hdrs}
|
||||
${srcs}
|
||||
)
|
||||
|
||||
target_include_directories(
|
||||
pwscripting
|
||||
PUBLIC
|
||||
include
|
||||
)
|
||||
|
||||
target_include_directories(
|
||||
pwscripting
|
||||
PRIVATE
|
||||
${CMAKE_SOURCE_DIR}/src/deps/lua-5.3.4/src
|
||||
${CMAKE_SOURCE_DIR}/src/deps/sol
|
||||
)
|
||||
|
||||
target_link_libraries(pwscripting lualib pwcore pwui pwscene)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue