2017-06-27 23:20:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
include_directories(
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../deps/glfw-3.2.1/include
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../deps/lua-5.3.4/src
|
2017-06-29 07:15:32 +02:00
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../deps/glad/include
|
|
|
|
|
|
|
|
|
2017-06-27 23:20:14 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
add_library(pw
|
|
|
|
STATIC
|
|
|
|
binding.hpp
|
|
|
|
binding.cpp
|
|
|
|
context.hpp
|
|
|
|
context.cpp
|
|
|
|
core.hpp
|
|
|
|
core.cpp
|
|
|
|
window.hpp
|
|
|
|
window.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
target_link_libraries(pw lualib glfw)
|