
# Source Files
set(EDITOR_SRC
"editor.cpp"
"editor_helpers.cpp"
"panel_manager.cpp"
"project/project.cpp" 
"panels/about.cpp"
"panels/assetBrowser.cpp"
"panels/worldTree.cpp"
"panels/worldView.cpp"
"panels/propertiesView.cpp"
"project/contents/content_manager.cpp"
"project/contents/editor_asset.cpp"
"project/contents/tile_map.cpp"
"project/contents/tile_set.cpp"
"tools/map_editor/map_editor.cpp"
"tools/map_editor/panels/map_canvas.cpp"
"tools/map_editor/panels/tile_set_view.cpp"
)

add_library(editor ${EDITOR_SRC})

target_link_libraries(editor gui utils assets)

target_include_directories(editor
    PUBLIC "${PROJECT_BINARY_DIR}"
    PUBLIC ../../
    PUBLIC ../../internal_libs
    PUBLIC ../../run_modes
    PUBLIC ../../../external/glm
    PUBLIC ../../../external/glad/include
    PUBLIC ../../../external/glfw/include
    PUBLIC ../../../external/box2d/include
    PUBLIC ../../../external/pugixml/src
)