Most the changes are due to InventoryObjectList* changing to LLInventoryObject::object_list_t*, LLInventoryItem::II_FLAGS* changing to LLInventoryItemFlags::II_FLAGS* and also const'ing. Certain perms for certain asset types(callcard&landmarks) have been laxed, as per LL's V2. LLInventoryType now does lookups mostly though new lldictionary class. LLLandmark using boost for callbacks, instead of custom class structure.
215 lines
4.0 KiB
CMake
215 lines
4.0 KiB
CMake
# -*- cmake -*-
|
|
|
|
project(llcommon)
|
|
|
|
include(00-Common)
|
|
include(LLCommon)
|
|
include(Linking)
|
|
|
|
include_directories(
|
|
${EXPAT_INCLUDE_DIRS}
|
|
${LLCOMMON_INCLUDE_DIRS}
|
|
${ZLIB_INCLUDE_DIRS}
|
|
)
|
|
|
|
set(llcommon_SOURCE_FILES
|
|
imageids.cpp
|
|
indra_constants.cpp
|
|
llapp.cpp
|
|
llapr.cpp
|
|
llassettype.cpp
|
|
llavatarname.cpp
|
|
llbase32.cpp
|
|
llbase64.cpp
|
|
llcommon.cpp
|
|
llcommonutils.cpp
|
|
llcrc.cpp
|
|
llcriticaldamp.cpp
|
|
llcursortypes.cpp
|
|
lldate.cpp
|
|
lldictionary.cpp
|
|
llerror.cpp
|
|
llerrorthread.cpp
|
|
llevent.cpp
|
|
llfasttimer.cpp
|
|
llfile.cpp
|
|
llfindlocale.cpp
|
|
llfixedbuffer.cpp
|
|
llformat.cpp
|
|
llframetimer.cpp
|
|
llheartbeat.cpp
|
|
llindraconfigfile.cpp
|
|
llliveappconfig.cpp
|
|
lllivefile.cpp
|
|
lllog.cpp
|
|
llmd5.cpp
|
|
llmemory.cpp
|
|
llmemorystream.cpp
|
|
llmetrics.cpp
|
|
llmortician.cpp
|
|
lloptioninterface.cpp
|
|
llprocesslauncher.cpp
|
|
llprocessor.cpp
|
|
llqueuedthread.cpp
|
|
llrand.cpp
|
|
llrun.cpp
|
|
llsd.cpp
|
|
llsdserialize.cpp
|
|
llsdserialize_xml.cpp
|
|
llsdutil.cpp
|
|
llsecondlifeurls.cpp
|
|
llstat.cpp
|
|
llstreamtools.cpp
|
|
llstring.cpp
|
|
llstringtable.cpp
|
|
llsys.cpp
|
|
llthread.cpp
|
|
lltimer.cpp
|
|
lluri.cpp
|
|
lluuid.cpp
|
|
llworkerthread.cpp
|
|
metaclass.cpp
|
|
metaproperty.cpp
|
|
reflective.cpp
|
|
timing.cpp
|
|
u64.cpp
|
|
)
|
|
|
|
set(llcommon_HEADER_FILES
|
|
CMakeLists.txt
|
|
|
|
bitpack.h
|
|
ctype_workaround.h
|
|
doublelinkedlist.h
|
|
imageids.h
|
|
indra_constants.h
|
|
linden_common.h
|
|
linked_lists.h
|
|
llagentconstants.h
|
|
llapp.h
|
|
llapr.h
|
|
llassettype.h
|
|
llassoclist.h
|
|
llavatarconstants.h
|
|
llavatarname.h
|
|
llbase32.h
|
|
llbase64.h
|
|
llboost.h
|
|
llchat.h
|
|
llclickaction.h
|
|
llcommon.h
|
|
llcommonutils.h
|
|
llcrc.h
|
|
llcriticaldamp.h
|
|
llcursortypes.h
|
|
lldarray.h
|
|
lldarrayptr.h
|
|
lldate.h
|
|
lldefs.h
|
|
lldepthstack.h
|
|
lldictionary.h
|
|
lldlinked.h
|
|
lldqueueptr.h
|
|
llendianswizzle.h
|
|
llenum.h
|
|
llerror.h
|
|
llerrorcontrol.h
|
|
llerrorlegacy.h
|
|
llerrorthread.h
|
|
llevent.h
|
|
lleventemitter.h
|
|
llextendedstatus.h
|
|
llfasttimer.h
|
|
llfile.h
|
|
llfindlocale.h
|
|
llfixedbuffer.h
|
|
llformat.h
|
|
llframetimer.h
|
|
llhash.h
|
|
llheartbeat.h
|
|
llhttpstatuscodes.h
|
|
llindexedqueue.h
|
|
llindraconfigfile.h
|
|
llkeythrottle.h
|
|
lllinkedqueue.h
|
|
llliveappconfig.h
|
|
lllivefile.h
|
|
lllocalidhashmap.h
|
|
lllog.h
|
|
lllslconstants.h
|
|
llmap.h
|
|
llmd5.h
|
|
llmemory.h
|
|
llmemorystream.h
|
|
llmemtype.h
|
|
llmetrics.h
|
|
llmortician.h
|
|
llnametable.h
|
|
lloptioninterface.h
|
|
llpreprocessor.h
|
|
llpriqueuemap.h
|
|
llprocesslauncher.h
|
|
llprocessor.h
|
|
llptrskiplist.h
|
|
llptrskipmap.h
|
|
llqueuedthread.h
|
|
llrand.h
|
|
llrun.h
|
|
llsd.h
|
|
llsdserialize.h
|
|
llsdserialize_xml.h
|
|
llsdutil.h
|
|
llsecondlifeurls.h
|
|
llsimplehash.h
|
|
llskiplist.h
|
|
llskipmap.h
|
|
llstack.h
|
|
llstat.h
|
|
llstatenums.h
|
|
llstl.h
|
|
llstreamtools.h
|
|
llstrider.h
|
|
llstring.h
|
|
llstringtable.h
|
|
llsys.h
|
|
llthread.h
|
|
lltimer.h
|
|
lluri.h
|
|
lluuid.h
|
|
lluuidhashmap.h
|
|
llversionserver.h
|
|
llversionviewer.h
|
|
llworkerthread.h
|
|
metaclass.h
|
|
metaclasst.h
|
|
metaproperty.h
|
|
metapropertyt.h
|
|
processor.h
|
|
reflective.h
|
|
reflectivet.h
|
|
roles_constants.h
|
|
stdenums.h
|
|
stdtypes.h
|
|
string_table.h
|
|
timer.h
|
|
timing.h
|
|
u64.h
|
|
)
|
|
|
|
set_source_files_properties(${llcommon_HEADER_FILES}
|
|
PROPERTIES HEADER_FILE_ONLY TRUE)
|
|
|
|
list(APPEND llcommon_SOURCE_FILES ${llcommon_HEADER_FILES})
|
|
|
|
add_library (llcommon ${llcommon_SOURCE_FILES})
|
|
add_dependencies(llcommon prepare)
|
|
target_link_libraries(
|
|
llcommon
|
|
${APRUTIL_LIBRARIES}
|
|
${APR_LIBRARIES}
|
|
${EXPAT_LIBRARIES}
|
|
${ZLIB_LIBRARIES}
|
|
${WINDOWS_LIBRARIES}
|
|
)
|
|
|