summaryrefslogtreecommitdiff
path: root/indra/llrender/CMakeLists.txt
diff options
context:
space:
mode:
authorEric Tulla <tulla@lindenlab.com>2008-06-30 17:57:00 +0000
committerEric Tulla <tulla@lindenlab.com>2008-06-30 17:57:00 +0000
commit939a506569433db7bff96c12200f03b3f85f40de (patch)
treec9f308949400b0a4ce00c82a6a33f2868e31a1d1 /indra/llrender/CMakeLists.txt
parent1a14cd34a9a4e6f51c445d477aaeeef0322d5853 (diff)
Merging in file-move-merge ( QAR-649 )
Result of "svn merge -r 90669:90786 $tulla/file-move-merge ." Be careful of future merges involving changes to any of these moved files as SVN usually does the wrong thing: newview/llglslshader.* -> llrender/llglslshader.*, llrender/llshadermgr.*, newview/llviewershadermgr.* (gets split into 3 separate files) newview/llpostprocess.* -> llrender/llpostprocess.* newview/llrendersphere.* -> llrender/llrendersphere.* newview/llcubemap.* -> llrender/llcubemap.* llwindow/llgl.* -> llrender/llgl.* llwindow/llglstates.h -> llrender/llglstates.h llwindow/llgltypes.h -> llrender/llgltypes.h llwindow/llglheaders.h -> llrender/llglheaders.h
Diffstat (limited to 'indra/llrender/CMakeLists.txt')
-rw-r--r--indra/llrender/CMakeLists.txt34
1 files changed, 34 insertions, 0 deletions
diff --git a/indra/llrender/CMakeLists.txt b/indra/llrender/CMakeLists.txt
index 2dba8ef60d..76858d9839 100644
--- a/indra/llrender/CMakeLists.txt
+++ b/indra/llrender/CMakeLists.txt
@@ -20,24 +20,38 @@ include_directories(
)
set(llrender_SOURCE_FILES
+ llcubemap.cpp
llfont.cpp
llfontgl.cpp
llgldbg.cpp
+ llglslshader.cpp
llimagegl.cpp
+ llpostprocess.cpp
llrender.cpp
+ llrendersphere.cpp
llrendertarget.cpp
+ llshadermgr.cpp
llvertexbuffer.cpp
)
set(llrender_HEADER_FILES
CMakeLists.txt
+ llcubemap.h
llfontgl.h
llfont.h
+ llgl.h
llgldbg.h
+ llglheaders.h
+ llglslshader.h
+ llglstates.h
+ llgltypes.h
llimagegl.h
+ llpostprocess.h
llrender.h
+ llrendersphere.h
llrendertarget.h
+ llshadermgr.h
llvertexbuffer.h
)
@@ -46,4 +60,24 @@ set_source_files_properties(${llrender_HEADER_FILES}
list(APPEND llrender_SOURCE_FILES ${llrender_HEADER_FILES})
+if (SERVER AND NOT WINDOWS AND NOT DARWIN)
+ copy_server_sources(
+ llgl
+ )
+
+
+ set_source_files_properties(
+ ${server_SOURCE_FILES}
+ PROPERTIES
+ COMPILE_FLAGS "-DLL_MESA=1 -DLL_MESA_HEADLESS=1"
+ )
+ add_library (llrenderheadless
+ ${llrender_SOURCE_FILES}
+ ${server_SOURCE_FILES}
+ )
+else (SERVER AND NOT WINDOWS AND NOT DARWIN)
+ list(APPEND llrender_SOURCE_FILES
+ llgl.cpp
+ )
+endif (SERVER AND NOT WINDOWS AND NOT DARWIN)
add_library (llrender ${llrender_SOURCE_FILES})