summaryrefslogtreecommitdiffstats
path: root/External/libjpeg-9a
diff options
context:
space:
mode:
authorEgor Yusov <egor.yusov@gmail.com>2017-11-13 03:18:57 +0000
committerEgor Yusov <egor.yusov@gmail.com>2017-11-13 03:18:57 +0000
commit5e3941de79b573b8798f6a6bcd4eaf544c48cde2 (patch)
tree77f33c32420cec66a88f24555f7211c02136468a /External/libjpeg-9a
parentMerge from dev branch (diff)
downloadDiligentTools-5e3941de79b573b8798f6a6bcd4eaf544c48cde2.tar.gz
DiligentTools-5e3941de79b573b8798f6a6bcd4eaf544c48cde2.zip
Updated to version 2.1
Diffstat (limited to 'External/libjpeg-9a')
-rw-r--r--External/libjpeg-9a/CMakeLists.txt75
1 files changed, 75 insertions, 0 deletions
diff --git a/External/libjpeg-9a/CMakeLists.txt b/External/libjpeg-9a/CMakeLists.txt
new file mode 100644
index 0000000..ec1f7fb
--- /dev/null
+++ b/External/libjpeg-9a/CMakeLists.txt
@@ -0,0 +1,75 @@
+cmake_minimum_required (VERSION 3.3)
+
+project(LibJpeg C)
+
+if(MSVC)
+ add_definitions(-D_CRT_SECURE_NO_WARNINGS)
+endif()
+
+set(SOURCE
+ jaricom.c
+ jcapimin.c
+ jcapistd.c
+ jcarith.c
+ jccoefct.c
+ jccolor.c
+ jcdctmgr.c
+ jchuff.c
+ jcinit.c
+ jcmainct.c
+ jcmarker.c
+ jcmaster.c
+ jcomapi.c
+ jcparam.c
+ jcprepct.c
+ jcsample.c
+ jctrans.c
+ jdapimin.c
+ jdapistd.c
+ jdarith.c
+ jdatadst.c
+ jdatasrc.c
+ jdcoefct.c
+ jdcolor.c
+ jddctmgr.c
+ jdhuff.c
+ jdinput.c
+ jdmainct.c
+ jdmarker.c
+ jdmaster.c
+ jdmerge.c
+ jdpostct.c
+ jdsample.c
+ jdtrans.c
+ jerror.c
+ jfdctflt.c
+ jfdctfst.c
+ jfdctint.c
+ jidctflt.c
+ jidctfst.c
+ jidctint.c
+ jmemmgr.c
+ jmemnobs.c
+ jquant1.c
+ jquant2.c
+ jutils.c
+)
+
+set(INCLUDE
+ jconfig.h
+ jdct.h
+ jerror.h
+ jinclude.h
+ jmemsys.h
+ jmorecfg.h
+ jpegint.h
+ jpeglib.h
+ jversion.h
+)
+
+add_library(
+ LibJpeg ${SOURCE} ${INCLUDE}
+)
+
+source_group("source" FILES ${SOURCE})
+source_group("include" FILES ${INCLUDE})