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
|
2017-06-29 14:00:03 +02:00
|
|
|
script.hpp
|
|
|
|
script.cpp
|
2017-06-27 23:20:14 +02:00
|
|
|
core.hpp
|
|
|
|
core.cpp
|
|
|
|
window.hpp
|
|
|
|
window.cpp
|
|
|
|
)
|
|
|
|
|
2017-06-29 14:00:03 +02:00
|
|
|
target_link_libraries(pw lualib glfw glad)
|