added camera implementation and plenty of other rendering related stuff - splitted out the initialization of the render context
This commit is contained in:
parent
ae37273021
commit
f7043fc0cb
43 changed files with 23280 additions and 15161 deletions
|
@ -1,5 +1,3 @@
|
|||
#add_subdirectory(src)
|
||||
|
||||
|
||||
set(hdrs
|
||||
include/pw/scripting/script.hpp
|
||||
|
@ -8,6 +6,12 @@ set(hdrs
|
|||
|
||||
set(srcs
|
||||
src/script.cpp
|
||||
src/script_core.hpp
|
||||
src/script_core.cpp
|
||||
src/script_system.hpp
|
||||
src/script_system.cpp
|
||||
src/script_scene.hpp
|
||||
src/script_scene.cpp
|
||||
)
|
||||
|
||||
add_library(pwscripting
|
||||
|
@ -16,17 +20,14 @@ add_library(pwscripting
|
|||
${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
|
||||
${CMAKE_SOURCE_DIR}/src/deps/sol2-2.20.6
|
||||
PUBLIC
|
||||
include
|
||||
)
|
||||
|
||||
target_link_libraries(pwscripting lualib pwcore pwui pwscene)
|
||||
target_link_libraries(pwscripting lualib pwcore pwsystem pwscene)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue