summaryrefslogtreecommitdiff
path: root/indra/llimage/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llimage/CMakeLists.txt')
-rw-r--r--indra/llimage/CMakeLists.txt50
1 files changed, 50 insertions, 0 deletions
diff --git a/indra/llimage/CMakeLists.txt b/indra/llimage/CMakeLists.txt
new file mode 100644
index 0000000000..5593b4a0cb
--- /dev/null
+++ b/indra/llimage/CMakeLists.txt
@@ -0,0 +1,50 @@
+# -*- cmake -*-
+
+project(llimage)
+
+include(00-Common)
+include(LLCommon)
+include(LLImage)
+include(LLMath)
+include(LLVFS)
+
+include_directories(
+ ${LLCOMMON_INCLUDE_DIRS}
+ ${LLMATH_INCLUDE_DIRS}
+ ${LLVFS_INCLUDE_DIRS}
+ ${PNG_INCLUDE_DIRS}
+ )
+
+set(llimage_SOURCE_FILES
+ llimagebmp.cpp
+ llimage.cpp
+ llimagedxt.cpp
+ llimagej2c.cpp
+ llimagejpeg.cpp
+ llimagepng.cpp
+ llimagetga.cpp
+ llimageworker.cpp
+ llpngwrapper.cpp
+ )
+
+set(llimage_HEADER_FILES
+ CMakeLists.txt
+
+ llimage.h
+ llimagebmp.h
+ llimagedxt.h
+ llimagej2c.h
+ llimagejpeg.h
+ llimagepng.h
+ llimagetga.h
+ llimageworker.h
+ llmapimagetype.h
+ llpngwrapper.h
+ )
+
+set_source_files_properties(${llimage_HEADER_FILES}
+ PROPERTIES HEADER_FILE_ONLY TRUE)
+
+list(APPEND llimage_SOURCE_FILES ${llimage_HEADER_FILES})
+
+add_library (llimage ${llimage_SOURCE_FILES})