You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lunarium_OLD/src/run_modes/editor/CMakeLists.txt

44 lines
1.1 KiB
CMake

# Source Files
set(EDITOR_SRC
"editor.cpp"
"editor_helpers.cpp"
"project.cpp"
"component_guis.cpp"
"panels/about.cpp"
"panels/asset_browser.cpp"
"panels/editor_console.cpp"
"panels/world_tree.cpp"
"panels/world_view.cpp"
"panels/properties_view.cpp"
"contents/content_manager.cpp"
"contents/editor_asset.cpp"
"contents/world.cpp"
"contents/script.cpp"
"contents/image.cpp"
"contents/tile_map.cpp"
"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_directories(editor
PRIVATE ${PROJECT_BINARY_DIR}/external/nativefiledialog-extended)
target_link_libraries(editor nfd)
target_include_directories(editor
PUBLIC "${PROJECT_BINARY_DIR}"
PUBLIC ../../
PUBLIC ../../run_modes
PUBLIC external/nativefiledialog-extended/src/include
PUBLIC ../../../external/glm
PUBLIC ../../../external/glad/include
PUBLIC ../../../external/glfw/include
PUBLIC ../../../external/box2d/include
PUBLIC ../../../external/wren/include
PUBLIC ../../../external/
)