diff options
| author | Oz Linden <oz@lindenlab.com> | 2010-10-13 10:53:10 -0400 | 
|---|---|---|
| committer | Oz Linden <oz@lindenlab.com> | 2010-10-13 10:53:10 -0400 | 
| commit | 7bb74afb67770fb8a02543a5e3a02a9b6d65bc57 (patch) | |
| tree | d12b00a2308b0fe000b2eaeb3529b31eeb0c2762 /indra | |
| parent | a351c5005eebb03a03f0e79d2efcc5a304fab481 (diff) | |
| parent | 41484c19eeb534330a17aff7e7b6663b86198cfe (diff) | |
Automated merge with ssh://bitbucket.org/merov_linden/viewer-development-storm-137
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | indra/cmake/LLAddBuildTest.cmake | 6 | ||||
| -rw-r--r-- | indra/llcommon/CMakeLists.txt | 11 | ||||
| -rw-r--r-- | indra/llplugin/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | indra/llplugin/slplugin/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | indra/llxuixml/llxuiparser.cpp | 6 | ||||
| -rw-r--r-- | indra/media_plugins/base/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | indra/media_plugins/example/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | indra/media_plugins/gstreamer010/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | indra/media_plugins/webkit/CMakeLists.txt | 8 | ||||
| -rw-r--r-- | indra/newview/llvocache.h | 1 | ||||
| -rwxr-xr-x | indra/newview/viewer_manifest.py | 7 | 
12 files changed, 76 insertions, 7 deletions
| diff --git a/indra/CMakeLists.txt b/indra/CMakeLists.txt index 261c0b17e2..8d4969a49e 100644 --- a/indra/CMakeLists.txt +++ b/indra/CMakeLists.txt @@ -123,6 +123,8 @@ if (SERVER)    endif (WINDOWS)  endif (SERVER) -# Define after the custom viewer and server targets are created so individual -# apps can add themselves as dependencies -add_subdirectory(${INTEGRATION_TESTS_PREFIX}integration_tests) +if (LL_TESTS) +  # Define after the custom viewer and server targets are created so +  # individual apps can add themselves as dependencies +  add_subdirectory(${INTEGRATION_TESTS_PREFIX}integration_tests) +endif (LL_TESTS) diff --git a/indra/cmake/LLAddBuildTest.cmake b/indra/cmake/LLAddBuildTest.cmake index a6a7989955..79c3bb7da2 100644 --- a/indra/cmake/LLAddBuildTest.cmake +++ b/indra/cmake/LLAddBuildTest.cmake @@ -256,6 +256,10 @@ MACRO(SET_TEST_PATH LISTVAR)      set(${LISTVAR} ${SHARED_LIB_STAGING_DIR}/${CMAKE_CFG_INTDIR}/Resources ${SHARED_LIB_STAGING_DIR}/Release/Resources /usr/lib)    ELSE(WINDOWS)      # Linux uses a single staging directory anyway. -    set(${LISTVAR} ${SHARED_LIB_STAGING_DIR} /usr/lib) +    IF (STANDALONE) +      set(${LISTVAR} ${CMAKE_BINARY_DIR}/llcommon /usr/lib /usr/local/lib) +    ELSE (STANDALONE) +      set(${LISTVAR} ${SHARED_LIB_STAGING_DIR} /usr/lib) +    ENDIF (STANDALONE)    ENDIF(WINDOWS)  ENDMACRO(SET_TEST_PATH) diff --git a/indra/llcommon/CMakeLists.txt b/indra/llcommon/CMakeLists.txt index 858e483036..902734906d 100644 --- a/indra/llcommon/CMakeLists.txt +++ b/indra/llcommon/CMakeLists.txt @@ -252,8 +252,15 @@ set_source_files_properties(${llcommon_HEADER_FILES}  list(APPEND llcommon_SOURCE_FILES ${llcommon_HEADER_FILES})  if(LLCOMMON_LINK_SHARED) -    add_library (llcommon SHARED ${llcommon_SOURCE_FILES}) -    ll_stage_sharedlib(llcommon) +  add_library (llcommon SHARED ${llcommon_SOURCE_FILES}) +  if(NOT WORD_SIZE EQUAL 32) +    if(WINDOWS) +      add_definitions(/FIXED:NO) +    else(WINDOWS) # not windows therefore gcc LINUX and DARWIN +      add_definitions(-fPIC) +    endif(WINDOWS) +  endif(NOT WORD_SIZE EQUAL 32) +  ll_stage_sharedlib(llcommon)  else(LLCOMMON_LINK_SHARED)      add_library (llcommon ${llcommon_SOURCE_FILES})  endif(LLCOMMON_LINK_SHARED) diff --git a/indra/llplugin/CMakeLists.txt b/indra/llplugin/CMakeLists.txt index fdd510b389..d3a73058c4 100644 --- a/indra/llplugin/CMakeLists.txt +++ b/indra/llplugin/CMakeLists.txt @@ -51,6 +51,14 @@ set(llplugin_HEADER_FILES  set_source_files_properties(${llplugin_HEADER_FILES}                              PROPERTIES HEADER_FILE_ONLY TRUE) +if(NOT WORD_SIZE EQUAL 32) +  if(WINDOWS) +    add_definitions(/FIXED:NO) +  else(WINDOWS) # not windows therefore gcc LINUX and DARWIN +    add_definitions(-fPIC) +  endif(WINDOWS) +endif(NOT WORD_SIZE EQUAL 32) +  list(APPEND llplugin_SOURCE_FILES ${llplugin_HEADER_FILES})  add_library (llplugin ${llplugin_SOURCE_FILES}) diff --git a/indra/llplugin/slplugin/CMakeLists.txt b/indra/llplugin/slplugin/CMakeLists.txt index 08d35f9ae7..3fc54573a7 100644 --- a/indra/llplugin/slplugin/CMakeLists.txt +++ b/indra/llplugin/slplugin/CMakeLists.txt @@ -79,4 +79,6 @@ if (DARWIN)    )  endif (DARWIN) -ll_deploy_sharedlibs_command(SLPlugin) +if (LL_TESTS) +  ll_deploy_sharedlibs_command(SLPlugin) +endif (LL_TESTS) diff --git a/indra/llxuixml/llxuiparser.cpp b/indra/llxuixml/llxuiparser.cpp index e1ad9a5c71..9942af6b37 100644 --- a/indra/llxuixml/llxuiparser.cpp +++ b/indra/llxuixml/llxuiparser.cpp @@ -29,7 +29,13 @@  #include "llxuiparser.h"  #include "llxmlnode.h" + +#ifdef LL_STANDALONE +#include <expat.h> +#else  #include "expat/expat.h" +#endif +  #include <fstream>  #include <boost/tokenizer.hpp>  //#include <boost/spirit/include/qi.hpp> diff --git a/indra/media_plugins/base/CMakeLists.txt b/indra/media_plugins/base/CMakeLists.txt index f8d2dabc6c..3ad94b0c64 100644 --- a/indra/media_plugins/base/CMakeLists.txt +++ b/indra/media_plugins/base/CMakeLists.txt @@ -25,6 +25,14 @@ include_directories(  ### media_plugin_base +if(NOT WORD_SIZE EQUAL 32) +  if(WINDOWS) +    add_definitions(/FIXED:NO) +  else(WINDOWS) # not windows therefore gcc LINUX and DARWIN +    add_definitions(-fPIC) +  endif(WINDOWS) +endif(NOT WORD_SIZE EQUAL 32) +  set(media_plugin_base_SOURCE_FILES      media_plugin_base.cpp  ) diff --git a/indra/media_plugins/example/CMakeLists.txt b/indra/media_plugins/example/CMakeLists.txt index 4d82f2747c..56cefde4bd 100644 --- a/indra/media_plugins/example/CMakeLists.txt +++ b/indra/media_plugins/example/CMakeLists.txt @@ -29,6 +29,14 @@ include_directories(  ### media_plugin_example +if(NOT WORD_SIZE EQUAL 32) +  if(WINDOWS) +    add_definitions(/FIXED:NO) +  else(WINDOWS) # not windows therefore gcc LINUX and DARWIN +    add_definitions(-fPIC) +  endif(WINDOWS) +endif(NOT WORD_SIZE EQUAL 32) +  set(media_plugin_example_SOURCE_FILES      media_plugin_example.cpp      ) diff --git a/indra/media_plugins/gstreamer010/CMakeLists.txt b/indra/media_plugins/gstreamer010/CMakeLists.txt index a5127ae5f4..5786bd1e25 100644 --- a/indra/media_plugins/gstreamer010/CMakeLists.txt +++ b/indra/media_plugins/gstreamer010/CMakeLists.txt @@ -30,6 +30,14 @@ include_directories(  ### media_plugin_gstreamer010 +if(NOT WORD_SIZE EQUAL 32) +  if(WINDOWS) +    add_definitions(/FIXED:NO) +  else(WINDOWS) # not windows therefore gcc LINUX and DARWIN +    add_definitions(-fPIC) +  endif(WINDOWS) +endif(NOT WORD_SIZE EQUAL 32) +  set(media_plugin_gstreamer010_SOURCE_FILES      media_plugin_gstreamer010.cpp      llmediaimplgstreamer_syms.cpp diff --git a/indra/media_plugins/webkit/CMakeLists.txt b/indra/media_plugins/webkit/CMakeLists.txt index 57478ddf27..05f1236606 100644 --- a/indra/media_plugins/webkit/CMakeLists.txt +++ b/indra/media_plugins/webkit/CMakeLists.txt @@ -32,6 +32,14 @@ include_directories(  ### media_plugin_webkit +if(NOT WORD_SIZE EQUAL 32) +  if(WINDOWS) +    add_definitions(/FIXED:NO) +  else(WINDOWS) # not windows therefore gcc LINUX and DARWIN +    add_definitions(-fPIC) +  endif(WINDOWS) +endif(NOT WORD_SIZE EQUAL 32) +  set(media_plugin_webkit_SOURCE_FILES      media_plugin_webkit.cpp      ) diff --git a/indra/newview/llvocache.h b/indra/newview/llvocache.h index 56b48ef705..ccdff5e96c 100644 --- a/indra/newview/llvocache.h +++ b/indra/newview/llvocache.h @@ -30,6 +30,7 @@  #include "lluuid.h"  #include "lldatapacker.h"  #include "lldlinked.h" +#include "lldir.h"  //--------------------------------------------------------------------------- diff --git a/indra/newview/viewer_manifest.py b/indra/newview/viewer_manifest.py index 84dd37ead3..6861f02bfb 100755 --- a/indra/newview/viewer_manifest.py +++ b/indra/newview/viewer_manifest.py @@ -956,6 +956,13 @@ class Linux_i686Manifest(LinuxManifest):                      self.path("libvivoxplatform.so")                      self.end_prefix("lib") +class Linux_x86_64Manifest(LinuxManifest): +    def construct(self): +        super(Linux_x86_64Manifest, self).construct() + +        # support file for valgrind debug tool +        self.path("secondlife-i686.supp") +  ################################################################  if __name__ == "__main__": | 
