Page MenuHomePhabricator (Chris)

No OneTemporary

Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
diff --git a/util/sdl/stretch/CMakeLists.txt b/util/sdl/stretch/CMakeLists.txt
new file mode 100644
index 00000000..3ef0aea3
--- /dev/null
+++ b/util/sdl/stretch/CMakeLists.txt
@@ -0,0 +1,34 @@
+# -------------------------------------------------------
+# SDL Image cmake build script for paintown.
+# Written by: juvinious
+# -------------------------------------------------------
+
+# -------------------------------------------------------
+# MSVC FLAGS
+# -------------------------------------------------------
+if(NOT MSVC)
+ set(CFLAGS "-W -O2 -Wwrite-strings -Wstrict-prototypes -Wall -funroll-loops -Wmissing-declarations -fomit-frame-pointer -Wno-missing-declarations")
+else(NOT MSVC)
+ set(CFLAGS "-O2")
+endif(NOT MSVC)
+
+remove_definitions(${CXXFLAGS})
+add_definitions(${CFLAGS} -DSDL_STRETCH_DISABLE_ASM)
+
+# -------------------------------------------------------
+# Source directories containing all the necessary .cpp files
+# -------------------------------------------------------
+set(SRC
+sdlstretch.c
+sdlstretchcode.c)
+
+# -------------------------------------------------------
+# Include directory
+# -------------------------------------------------------
+include_directories(include ./)
+
+# -------------------------------------------------------
+# module
+# -------------------------------------------------------
+add_library (sdl_stretch_module ${SRC})
+

File Metadata

Mime Type
text/x-diff
Expires
Thu, Jun 11, 11:34 AM (3 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
68791
Default Alt Text
(1 KB)

Event Timeline