mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-21 06:45:44 +00:00
Remove SDL3_main from build systems, remove most of src/main/*
XCode is still missing, and src/main/winrt/SDL3-WinRTResource* still need to find a new home
This commit is contained in:
committed by
Sam Lantinga
parent
63d3fb469d
commit
c3bf253b09
@@ -48,8 +48,7 @@ set(SDL3_INCLUDE_DIRS "${SDL3_INCLUDE_DIR}")
|
||||
set_and_check(SDL3_BINDIR "${SDL3_PREFIX}/lib/${_sdl_arch_subdir}")
|
||||
set_and_check(SDL3_LIBDIR "${SDL3_PREFIX}/lib/${_sdl_arch_subdir}")
|
||||
|
||||
set(SDL3_LIBRARIES SDL3::SDL3_main SDL3::SDL3)
|
||||
set(SDL3MAIN_LIBRARY SDL3::SDL3_main)
|
||||
set(SDL3_LIBRARIES SDL3::SDL3)
|
||||
set(SDL3TEST_LIBRARY SDL3::SDL3_test)
|
||||
|
||||
|
||||
@@ -77,21 +76,6 @@ endif()
|
||||
unset(_sdl3_library)
|
||||
unset(_sdl3_dll_library)
|
||||
|
||||
set(_sdl3main_library "${SDL3_LIBDIR}/SDL3_main.lib")
|
||||
if(EXISTS "${_sdl3main_library}")
|
||||
if(NOT TARGET SDL3::SDL3_main)
|
||||
add_library(SDL3::SDL3_main STATIC IMPORTED)
|
||||
set_target_properties(SDL3::SDL3_main
|
||||
PROPERTIES
|
||||
IMPORTED_LOCATION "${_sdl3main_library}"
|
||||
)
|
||||
endif()
|
||||
set(SDL3_SDL3_main_FOUND TRUE)
|
||||
else()
|
||||
set(SDL3_SDL3_FOUND FALSE)
|
||||
endif()
|
||||
unset(_sdl3main_library)
|
||||
|
||||
set(_sdl3test_library "${SDL3_LIBDIR}/SDL3_test.lib")
|
||||
if(EXISTS "${_sdl3test_library}")
|
||||
if(NOT TARGET SDL3::SDL3_test)
|
||||
|
||||
Reference in New Issue
Block a user