Archived
1
Fork 0
This repository has been archived on 2025-04-12. You can view files and clone it, but cannot push or open issues or pull requests.
graphite/engine/core/CMakeLists.txt
2024-01-03 16:05:02 -05:00

31 lines
899 B
CMake

set(SOURCE_FILES
src/engine.cpp
src/world.cpp
src/gameinstance.cpp
src/scriptsystem.cpp
src/physicssystem.cpp)
add_library(Core ${SOURCE_FILES})
target_link_libraries(Core Platform Assets ECS ImGui Input Angelscript Renderer BulletDynamics BulletCollision LinearMath)
include_directories(include)
include_directories(
${RENDERER_INCLUDE_DIR}
${ASSETS_INCLUDE_DIR}
${ECS_INCLUDE_DIR}
${UTILITY_INCLUDE_DIR}
${INPUT_INCLUDE_DIR}
${PLATFORM_INCLUDE_DIR})
include_directories(SYSTEM
${LIBRARY_JSON_INCLUDE_DIR}
${LIBRARY_IMGUI_INCLUDE_DIR}
${LIBRARY_STB_INCLUDE_DIR}
${LIBRARY_ANGELSCRIPT_INCLUDE_DIR}
${LIBRARY_BULLET_INCLUDE_DIR}
${LIBRARY_GLM_INCLUDE_DIR}
${LIBRARY_VULKAN_INCLUDE_DIR}
${LIBRARY_PHYSFS_INCLUDE_DIR}
${LIBRARY_ASSIMP_INCLUDE_DIR})