summaryrefslogtreecommitdiff
path: root/external/libs/macosx
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-02-16 03:40:06 +0000
committerIronClawTrem <louie.nutman@gmail.com>2020-02-16 03:40:06 +0000
commit425decdf7e9284d15aa726e3ae96b9942fb0e3ea (patch)
tree6c0dd7edfefff1be7b9e75fe0b3a0a85fe1595f3 /external/libs/macosx
parentccb0b2e4d6674a7a00c9bf491f08fc73b6898c54 (diff)
create tremded branch
Diffstat (limited to 'external/libs/macosx')
-rw-r--r--external/libs/macosx/CMakeLists.txt28
-rw-r--r--external/libs/macosx/libSDL2-2.0.0.dylibbin0 -> 3939940 bytes
-rw-r--r--external/libs/macosx/libSDL2main.abin0 -> 8516 bytes
3 files changed, 28 insertions, 0 deletions
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
+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
+ $<INSTALL_INTERFACE:>
+ )
+
+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
--- /dev/null
+++ b/external/libs/macosx/libSDL2-2.0.0.dylib
Binary files differ
diff --git a/external/libs/macosx/libSDL2main.a b/external/libs/macosx/libSDL2main.a
new file mode 100644
index 0000000..4364d15
--- /dev/null
+++ b/external/libs/macosx/libSDL2main.a
Binary files differ