42c14fae59
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
85 lines
3.1 KiB
CMake
85 lines
3.1 KiB
CMake
# Generated by CMake
|
|
|
|
if("${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}" LESS 2.6)
|
|
message(FATAL_ERROR "CMake >= 2.6.0 required")
|
|
endif()
|
|
cmake_policy(PUSH)
|
|
cmake_policy(VERSION 2.6...3.20)
|
|
#----------------------------------------------------------------
|
|
# Generated CMake target import file.
|
|
#----------------------------------------------------------------
|
|
|
|
# Commands may need to know the format version.
|
|
set(CMAKE_IMPORT_FILE_VERSION 1)
|
|
|
|
# Protect against multiple inclusion, which would fail when already imported targets are added once more.
|
|
set(_targetsDefined)
|
|
set(_targetsNotDefined)
|
|
set(_expectedTargets)
|
|
foreach(_expectedTarget SDL3::SDL3-static)
|
|
list(APPEND _expectedTargets ${_expectedTarget})
|
|
if(NOT TARGET ${_expectedTarget})
|
|
list(APPEND _targetsNotDefined ${_expectedTarget})
|
|
endif()
|
|
if(TARGET ${_expectedTarget})
|
|
list(APPEND _targetsDefined ${_expectedTarget})
|
|
endif()
|
|
endforeach()
|
|
if("${_targetsDefined}" STREQUAL "${_expectedTargets}")
|
|
unset(_targetsDefined)
|
|
unset(_targetsNotDefined)
|
|
unset(_expectedTargets)
|
|
set(CMAKE_IMPORT_FILE_VERSION)
|
|
cmake_policy(POP)
|
|
return()
|
|
endif()
|
|
if(NOT "${_targetsDefined}" STREQUAL "")
|
|
message(FATAL_ERROR "Some (but not all) targets in this export set were already defined.\nTargets Defined: ${_targetsDefined}\nTargets not yet defined: ${_targetsNotDefined}\n")
|
|
endif()
|
|
unset(_targetsDefined)
|
|
unset(_targetsNotDefined)
|
|
unset(_expectedTargets)
|
|
|
|
|
|
# Create imported target SDL3::SDL3-static
|
|
add_library(SDL3::SDL3-static STATIC IMPORTED)
|
|
|
|
set_target_properties(SDL3::SDL3-static PROPERTIES
|
|
COMPATIBLE_INTERFACE_BOOL "SDL3_SHARED"
|
|
COMPATIBLE_INTERFACE_STRING "SDL_VERSION"
|
|
INTERFACE_LINK_LIBRARIES "\$<LINK_ONLY:m>;SDL3::Headers"
|
|
INTERFACE_SDL3_SHARED "FALSE"
|
|
INTERFACE_SDL_VERSION "SDL3"
|
|
SDL_FULL_VERSION "3.4.8"
|
|
)
|
|
|
|
# Import target "SDL3::SDL3-static" for configuration "MinSizeRel"
|
|
set_property(TARGET SDL3::SDL3-static APPEND PROPERTY IMPORTED_CONFIGURATIONS MINSIZEREL)
|
|
set_target_properties(SDL3::SDL3-static PROPERTIES
|
|
IMPORTED_LINK_INTERFACE_LANGUAGES_MINSIZEREL "C"
|
|
IMPORTED_LOCATION_MINSIZEREL "/home/lucas/fn_registry/build/wasm/runtime_test/_sdl3/libSDL3.a"
|
|
)
|
|
|
|
# Make sure the targets which have been exported in some other
|
|
# export set exist.
|
|
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
|
foreach(_target "SDL3::Headers" )
|
|
if(NOT TARGET "${_target}" )
|
|
set(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets "${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets} ${_target}")
|
|
endif()
|
|
endforeach()
|
|
|
|
if(DEFINED ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
|
if(CMAKE_FIND_PACKAGE_NAME)
|
|
set( ${CMAKE_FIND_PACKAGE_NAME}_FOUND FALSE)
|
|
set( ${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
|
else()
|
|
message(FATAL_ERROR "The following imported targets are referenced, but are missing: ${${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets}")
|
|
endif()
|
|
endif()
|
|
unset(${CMAKE_FIND_PACKAGE_NAME}_NOT_FOUND_MESSAGE_targets)
|
|
|
|
# Commands beyond this point should not need to know the version.
|
|
set(CMAKE_IMPORT_FILE_VERSION)
|
|
cmake_policy(POP)
|