summaryrefslogtreecommitdiff
path: root/indra/llrender/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llrender/CMakeLists.txt')
-rw-r--r--indra/llrender/CMakeLists.txt51
1 files changed, 51 insertions, 0 deletions
diff --git a/indra/llrender/CMakeLists.txt b/indra/llrender/CMakeLists.txt
new file mode 100644
index 0000000000..9938a0198b
--- /dev/null
+++ b/indra/llrender/CMakeLists.txt
@@ -0,0 +1,51 @@
+# -*- cmake -*-
+
+project(llrender)
+
+include(00-Common)
+include(FreeType)
+include(LLCommon)
+include(LLImage)
+include(LLMath)
+include(LLRender)
+include(LLWindow)
+
+include_directories(
+ ${FREETYPE_INCLUDE_DIRS}
+ ${LLCOMMON_INCLUDE_DIRS}
+ ${LLIMAGE_INCLUDE_DIRS}
+ ${LLMATH_INCLUDE_DIRS}
+ ${LLRENDER_INCLUDE_DIRS}
+ ${LLWINDOW_INCLUDE_DIRS}
+ )
+
+set(llrender_SOURCE_FILES
+ llfont.cpp
+ llfontgl.cpp
+ llgldbg.cpp
+ llglimmediate.cpp
+ llimagegl.cpp
+ llrendertarget.cpp
+ llvertexbuffer.cpp
+ llvertexprogramgl.cpp
+ )
+
+set(llrender_HEADER_FILES
+ CMakeLists.txt
+
+ llfontgl.h
+ llfont.h
+ llgldbg.h
+ llglimmediate.h
+ llimagegl.h
+ llrendertarget.h
+ llvertexbuffer.h
+ llvertexprogramgl.h
+ )
+
+set_source_files_properties(${llrender_HEADER_FILES}
+ PROPERTIES HEADER_FILE_ONLY TRUE)
+
+list(APPEND llrender_SOURCE_FILES ${llrender_HEADER_FILES})
+
+add_library (llrender ${llrender_SOURCE_FILES})