Skip to content

Commit

Permalink
Merge pull request #2133 from MikuAuahDark/nativefile-sdl
Browse files Browse the repository at this point in the history
Replace NativeFile to use SDL IO functions.
  • Loading branch information
slime73 authored Jan 14, 2025
2 parents 5ac9b2f + 0589245 commit 176a3c1
Show file tree
Hide file tree
Showing 4 changed files with 280 additions and 136 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1962,7 +1962,7 @@ love_group_projects(NAME "liblove" NESTED TARGETS ${LIBLOVE_DEPENDENCIES})
love_group_projects(NAME "liblove/libraries" NESTED TARGETS ${LIBLOVE_LIBRARIES})
love_group_projects(NAME "liblove" TARGETS liblove ${LOVE_EXTRA_DEPENDECIES})

love_group_projects(NAME "lovedep" TARGETS lovedep::SDL3 lovedep::Freetype lovedep::Harfbuzz lovedep::OpenAL lovedep::Modplug lovedep::Theora lovedep::Vorbis lovedep::Ogg lovedep::Zlib lovedep::Lua)
love_group_projects(NAME "lovedep" TARGETS lovedep::SDL lovedep::Freetype lovedep::Harfbuzz lovedep::OpenAL lovedep::Modplug lovedep::Theora lovedep::Vorbis lovedep::Ogg lovedep::Zlib lovedep::Lua)
love_group_projects(NAME "lovedep" TARGETS lua51 alcommon al-excommon harfbuzz-subset zlib)


Expand Down
6 changes: 6 additions & 0 deletions extra/cmake/LoveMacros.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,12 @@ function(love_group_projects)
foreach(TARGET_LIB ${TARGET_LIBS})
# Is this a target? (Could also be a .lib file)
if (TARGET ${TARGET_LIB})
# Resolve aliased target
get_target_property(ORIGINAL_TARGET ${TARGET_LIB} ALIASED_TARGET)
if (ORIGINAL_TARGET)
set(TARGET_LIB ${ORIGINAL_TARGET})
endif()

# Do we want to nest per-project?
if (LOVE_GROUP_NESTED)
set_target_properties(${TARGET_LIB} PROPERTIES FOLDER "${LOVE_GROUP_NAME}/${TARGET_NAME}")
Expand Down
Loading

0 comments on commit 176a3c1

Please sign in to comment.