|
|
@ -2,16 +2,16 @@ file(GLOB_RECURSE ENGINE_SOURCES "${ENGINE}/*.cpp") |
|
|
|
|
|
|
|
|
|
|
|
add_library(${ENGINE} ${ENGINE_SOURCES}) |
|
|
|
add_library(${ENGINE} ${ENGINE_SOURCES}) |
|
|
|
target_include_directories(${ENGINE} PRIVATE |
|
|
|
target_include_directories(${ENGINE} PRIVATE |
|
|
|
"${CMAKE_SOURCE_DIR}/src" |
|
|
|
"." |
|
|
|
"${CMAKE_SOURCE_DIR}/vendor/entt/src" |
|
|
|
"../vendor/entt/src" |
|
|
|
"${CMAKE_SOURCE_DIR}/vendor/glad/include" |
|
|
|
"../vendor/glad/include" |
|
|
|
"${CMAKE_SOURCE_DIR}/vendor/glfw/include" |
|
|
|
"../vendor/glfw/include" |
|
|
|
"${CMAKE_SOURCE_DIR}/vendor/glm" |
|
|
|
"../vendor/glm" |
|
|
|
"${CMAKE_SOURCE_DIR}/vendor/json/include" |
|
|
|
"../vendor/json/include" |
|
|
|
"${CMAKE_SOURCE_DIR}/vendor/lua" |
|
|
|
"../vendor/lua" |
|
|
|
"${CMAKE_SOURCE_DIR}/vendor/ruc/src" |
|
|
|
"../vendor/ruc/src" |
|
|
|
"${CMAKE_SOURCE_DIR}/vendor/sol2/include" |
|
|
|
"../vendor/sol2/include" |
|
|
|
"${CMAKE_SOURCE_DIR}/vendor/stb") |
|
|
|
"../vendor/stb") |
|
|
|
target_link_libraries(${ENGINE} ${ENGINE}-dependencies) |
|
|
|
target_link_libraries(${ENGINE} ${ENGINE}-dependencies) |
|
|
|
|
|
|
|
|
|
|
|
# ------------------------------------------ |
|
|
|
# ------------------------------------------ |
|
|
|