From 425decdf7e9284d15aa726e3ae96b9942fb0e3ea Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Sun, 16 Feb 2020 03:40:06 +0000 Subject: create tremded branch --- external/libs/macosx/CMakeLists.txt | 28 ++++++++++++++++++++++++++++ external/libs/macosx/libSDL2-2.0.0.dylib | Bin 0 -> 3939940 bytes external/libs/macosx/libSDL2main.a | Bin 0 -> 8516 bytes 3 files changed, 28 insertions(+) create mode 100644 external/libs/macosx/CMakeLists.txt create mode 100644 external/libs/macosx/libSDL2-2.0.0.dylib create mode 100644 external/libs/macosx/libSDL2main.a (limited to 'external/libs/macosx') diff --git a/external/libs/macosx/CMakeLists.txt b/external/libs/macosx/CMakeLists.txt new file mode 100644 index 0000000..9ef4889 --- /dev/null +++ b/external/libs/macosx/CMakeLists.txt @@ -0,0 +1,28 @@ +project(SDL2) + +add_library(SDL2 INTERFACE IMPORTED) + +set_property(TARGET SDL2 + PROPERTY INTERFACE_INCLUDE_DIRECTORES + "${CMAKE_SOURCE_DIR}/src/SDL2/include") + +set_property(TARGET SDL2 + PROPERTY INTERFACE_LINK_LIBRARIES + "libSDL2main.a" + "libSDL2-2.0.0.dylib" ) + +set_property(TARGET SDL2 + PROPERTY INTERFACE_COMPILE_OPTIONS + "-L${CMAKE_CURRENT_SOURCE_DIR}") + +set_property( + TARGET SDL2 + APPEND PROPERTY INTERFACE_INCLUDE_DIRECTORIES + $ + $ + ) + +message(STATUS " + ${lib}: LINK_INTERFACE_LIBRARIES = \"${lil}\" + INTERFACE_LINK_LIBRARIES = \"${ill}\"" + ) diff --git a/external/libs/macosx/libSDL2-2.0.0.dylib b/external/libs/macosx/libSDL2-2.0.0.dylib new file mode 100644 index 0000000..a14c323 Binary files /dev/null and b/external/libs/macosx/libSDL2-2.0.0.dylib differ diff --git a/external/libs/macosx/libSDL2main.a b/external/libs/macosx/libSDL2main.a new file mode 100644 index 0000000..4364d15 Binary files /dev/null and b/external/libs/macosx/libSDL2main.a differ -- cgit