CMake and tests fixups after merge with main for DRTVWR-559
parent
a548c16989
commit
1b6cd23abd
|
|
@ -9,4 +9,3 @@ include(ZLIBNG)
|
||||||
include(JsonCpp)
|
include(JsonCpp)
|
||||||
|
|
||||||
include(XmlRpcEpi)
|
include(XmlRpcEpi)
|
||||||
${TRACY_LIBRARY}
|
|
||||||
|
|
|
||||||
|
|
@ -2,5 +2,4 @@
|
||||||
|
|
||||||
include(Variables)
|
include(Variables)
|
||||||
include(Mikktspace)
|
include(Mikktspace)
|
||||||
include(MESHOPTIMIZER)
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,22 +0,0 @@
|
||||||
# -*- cmake -*-
|
|
||||||
|
|
||||||
include(Variables)
|
|
||||||
include(FreeType)
|
|
||||||
include(GLH)
|
|
||||||
include(GLEXT)
|
|
||||||
|
|
||||||
set(LLRENDER_INCLUDE_DIRS
|
|
||||||
${LIBS_OPEN_DIR}/llrender
|
|
||||||
${GLH_INCLUDE_DIR}
|
|
||||||
${GLEXT_INCLUDE_DIR}
|
|
||||||
)
|
|
||||||
|
|
||||||
if (BUILD_HEADLESS)
|
|
||||||
set(LLRENDER_HEADLESS_LIBRARIES
|
|
||||||
llrenderheadless
|
|
||||||
)
|
|
||||||
endif (BUILD_HEADLESS)
|
|
||||||
set(LLRENDER_LIBRARIES
|
|
||||||
llrender
|
|
||||||
)
|
|
||||||
|
|
||||||
|
|
@ -11,11 +11,8 @@ if (USE_TRACY)
|
||||||
use_prebuilt_binary(tracy)
|
use_prebuilt_binary(tracy)
|
||||||
|
|
||||||
target_include_directories( ll::tracy SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/tracy)
|
target_include_directories( ll::tracy SYSTEM INTERFACE ${LIBS_PREBUILT_DIR}/include/tracy)
|
||||||
set(TRACY_LIBRARY "TracyClient")
|
|
||||||
set(TRACY_LIBRARY "TracyClient")
|
|
||||||
|
|
||||||
# See: indra/llcommon/llprofiler.h
|
# See: indra/llcommon/llprofiler.h
|
||||||
target_compile_definitions(ll::tracy INTERFACE LL_PROFILER_CONFIGURATION=3 )
|
add_compile_definitions(LL_PROFILER_CONFIGURATION=3)
|
||||||
set(TRACY_LIBRARY "TracyClient")
|
|
||||||
endif (USE_TRACY)
|
endif (USE_TRACY)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -7,11 +7,8 @@ include(LLCommon)
|
||||||
include(LLCoreHttp)
|
include(LLCoreHttp)
|
||||||
include(LLPhysicsExtensions)
|
include(LLPhysicsExtensions)
|
||||||
include(LLPrimitive)
|
include(LLPrimitive)
|
||||||
include(LLRender)
|
|
||||||
include(GLH)
|
include(GLH)
|
||||||
include(TinyGLTF)
|
include(TinyGLTF)
|
||||||
${LLRENDER_INCLUDE_DIRS}
|
|
||||||
${TINYGLTF_INCLUDE_DIR}
|
|
||||||
|
|
||||||
set(llprimitive_SOURCE_FILES
|
set(llprimitive_SOURCE_FILES
|
||||||
lldaeloader.cpp
|
lldaeloader.cpp
|
||||||
|
|
@ -68,6 +65,7 @@ target_link_libraries(llprimitive
|
||||||
llcorehttp
|
llcorehttp
|
||||||
llxml
|
llxml
|
||||||
llcharacter
|
llcharacter
|
||||||
|
llrender
|
||||||
llphysicsextensions_impl
|
llphysicsextensions_impl
|
||||||
ll::colladadom
|
ll::colladadom
|
||||||
ll::pcre
|
ll::pcre
|
||||||
|
|
@ -82,6 +80,7 @@ if (LL_TESTS)
|
||||||
llprimitive.cpp
|
llprimitive.cpp
|
||||||
llgltfmaterial.cpp
|
llgltfmaterial.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
|
set_property(SOURCE llprimitive.cpp PROPERTY LL_TEST_ADDITIONAL_LIBRARIES llmessage)
|
||||||
LL_ADD_PROJECT_UNIT_TESTS(llprimitive "${llprimitive_TEST_SOURCE_FILES}")
|
LL_ADD_PROJECT_UNIT_TESTS(llprimitive "${llprimitive_TEST_SOURCE_FILES}")
|
||||||
endif (LL_TESTS)
|
endif (LL_TESTS)
|
||||||
|
|
|
||||||
|
|
@ -2229,8 +2229,8 @@ if (LL_TESTS)
|
||||||
set_source_files_properties(
|
set_source_files_properties(
|
||||||
llvocache.cpp
|
llvocache.cpp
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
LL_TEST_ADDITIONAL_SOURCE_FILES
|
LL_TEST_ADDITIONAL_SOURCE_FILES ../llmessage/lldatapacker.cpp
|
||||||
../llmessage/lldatapacker.cpp
|
LL_TEST_ADDITIONAL_PROJECTS "llprimitive"
|
||||||
)
|
)
|
||||||
|
|
||||||
set(test_libs
|
set(test_libs
|
||||||
|
|
@ -2251,7 +2251,6 @@ if (LL_TESTS)
|
||||||
LL_TEST_ADDITIONAL_LIBRARIES "${test_libs}"
|
LL_TEST_ADDITIONAL_LIBRARIES "${test_libs}"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
set_source_files_properties(
|
set_source_files_properties(
|
||||||
llworldmap.cpp
|
llworldmap.cpp
|
||||||
llworldmipmap.cpp
|
llworldmipmap.cpp
|
||||||
|
|
@ -2271,6 +2270,7 @@ if (LL_TESTS)
|
||||||
PROPERTIES
|
PROPERTIES
|
||||||
LL_TEST_ADDITIONAL_SOURCE_FILES llversioninfo.cpp
|
LL_TEST_ADDITIONAL_SOURCE_FILES llversioninfo.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
set_property( SOURCE
|
set_property( SOURCE
|
||||||
${viewer_TEST_SOURCE_FILES}
|
${viewer_TEST_SOURCE_FILES}
|
||||||
PROPERTY
|
PROPERTY
|
||||||
|
|
|
||||||
|
|
@ -554,8 +554,6 @@ void LLGLTFMaterialList::onAssetLoadComplete(const LLUUID& id, LLAssetType::ETyp
|
||||||
LL::WorkQueue::ptr_t main_queue = LL::WorkQueue::getInstance("mainloop");
|
LL::WorkQueue::ptr_t main_queue = LL::WorkQueue::getInstance("mainloop");
|
||||||
LL::WorkQueue::ptr_t general_queue = LL::WorkQueue::getInstance("General");
|
LL::WorkQueue::ptr_t general_queue = LL::WorkQueue::getInstance("General");
|
||||||
|
|
||||||
typedef std::pair<U32, tinygltf::Model> return_data_t;
|
|
||||||
|
|
||||||
main_queue->postTo(
|
main_queue->postTo(
|
||||||
general_queue,
|
general_queue,
|
||||||
[id, asset_type, asset_data]() // Work done on general queue
|
[id, asset_type, asset_data]() // Work done on general queue
|
||||||
|
|
|
||||||
|
|
@ -10,9 +10,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
// Precompiled header
|
// Precompiled header
|
||||||
#include "llviewerprecompiledheaders.h"
|
#include "../llviewerprecompiledheaders.h"
|
||||||
// associated header
|
// associated header
|
||||||
#include "llviewercontrollistener.h"
|
#include "../llviewercontrollistener.h"
|
||||||
// STL headers
|
// STL headers
|
||||||
// std headers
|
// std headers
|
||||||
// external library headers
|
// external library headers
|
||||||
|
|
@ -21,7 +21,6 @@
|
||||||
#include "../test/catch_and_store_what_in.h" // catch_what()
|
#include "../test/catch_and_store_what_in.h" // catch_what()
|
||||||
#include "commoncontrol.h"
|
#include "commoncontrol.h"
|
||||||
#include "llcontrol.h" // LLControlGroup
|
#include "llcontrol.h" // LLControlGroup
|
||||||
#include "llviewercontrollistener.h"
|
|
||||||
|
|
||||||
/*****************************************************************************
|
/*****************************************************************************
|
||||||
* TUT
|
* TUT
|
||||||
|
|
|
||||||
|
|
@ -28,15 +28,16 @@
|
||||||
#include "../llviewerprecompiledheaders.h"
|
#include "../llviewerprecompiledheaders.h"
|
||||||
#include "../test/lltut.h"
|
#include "../test/lltut.h"
|
||||||
|
|
||||||
#include "llvocache.h"
|
#include "../llvocache.h"
|
||||||
|
|
||||||
#include "lldir.h"
|
#include "lldir.h"
|
||||||
#include "llhudobject.h"
|
#include "../llhudobject.h"
|
||||||
#include "llregionhandle.h"
|
#include "llregionhandle.h"
|
||||||
#include "llsdutil.h"
|
#include "llsdutil.h"
|
||||||
#include "llsdserialize.h"
|
#include "llsdserialize.h"
|
||||||
#include "llviewerobjectlist.h"
|
|
||||||
#include "llviewerregion.h"
|
#include "../llviewerobjectlist.h"
|
||||||
|
#include "../llviewerregion.h"
|
||||||
|
|
||||||
#include "lldir_stub.cpp"
|
#include "lldir_stub.cpp"
|
||||||
#include "llvieweroctree_stub.cpp"
|
#include "llvieweroctree_stub.cpp"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue