12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310 |
- # -*- cmake -*-
- project(viewer)
- include(00-Common)
- include(Boost)
- include(ELFIO)
- include(Glib)
- include(Hunspell)
- include(jemalloc)
- include(Json)
- include(LUA)
- include(FindOpenGL)
- include(LLWindow)
- include(LLAppearance)
- include(LLAudio)
- include(LLCharacter)
- include(LLCommon)
- include(LLConvexDecomposition)
- include(LLFilesystem)
- include(LLGltf)
- include(LLImage)
- include(LLInventory)
- include(LLMath)
- include(LLMessage)
- include(LLPlugin)
- include(LLPrimitive)
- include(LLRender)
- include(LLUI)
- include(LLXML)
- include(Linking)
- include(Python)
- include(NDOF)
- include(ViewerMiscLibs)
- include(GLOD)
- include(PNG)
- include(ZLIB)
- include(CEFPlugin)
- use_prebuilt_binary(tinyexr)
- use_prebuilt_binary(artwork-common)
- use_prebuilt_binary(dictionaries)
- if (WINDOWS)
- use_prebuilt_binary(runtime-libraries)
- endif (WINDOWS)
- set(viewer_SOURCE_FILES
- llagent.cpp
- llagentpilot.cpp
- llagentwearables.cpp
- llaisapi.cpp
- llappcorehttp.cpp
- llappearancemgr.cpp
- llappviewer.cpp
- llaudiosourcevo.cpp
- llavataractions.cpp
- llavatarproperties.cpp
- llavatartracker.cpp
- llchatbar.cpp
- llcloud.cpp
- llcolorswatch.cpp
- llcommandhandler.cpp
- llcurrencyuimanager.cpp
- lldebugview.cpp
- lldrawable.cpp
- lldrawpoolalpha.cpp
- lldrawpoolavatar.cpp
- lldrawpoolbump.cpp
- lldrawpool.cpp
- lldrawpoolmaterials.cpp
- lldrawpoolsimple.cpp
- lldrawpoolsky.cpp
- lldrawpoolterrain.cpp
- lldrawpooltree.cpp
- lldrawpoolwater.cpp
- lldrawpoolwlsky.cpp
- lldynamictexture.cpp
- llenvironment.cpp
- llenvsettings.cpp
- lleventnotifier.cpp
- lleventpoll.cpp
- llexperiencelog.cpp
- llface.cpp
- llfasttimerview.cpp
- llfeaturemanager.cpp
- llfetchedgltfmaterial.cpp
- llfirstuse.cpp
- llflexibleobject.cpp
- llfloaterabout.cpp
- llfloateractivespeakers.cpp
- llfloateranimpreview.cpp
- hbfloaterareasearch.cpp
- llfloaterauction.cpp
- llfloateravatarinfo.cpp
- llfloateravatarpicker.cpp
- llfloateravatartextures.cpp
- llfloaterbeacons.cpp
- llfloaterbulkpermission.cpp
- hbfloaterbump.cpp
- llfloaterbuycontents.cpp
- llfloaterbuy.cpp
- llfloaterbuycurrency.cpp
- llfloaterbuyland.cpp
- llfloatercamera.cpp
- llfloaterchat.cpp
- llfloaterchatterbox.cpp
- llfloaterclassified.cpp
- llfloatercolorpicker.cpp
- llfloatercustomize.cpp
- llfloaterdebugsettings.cpp
- hbfloaterdebugtags.cpp
- llfloaterdisplayname.cpp
- hbfloatereditenvsettings.cpp
- llfloatereditui.cpp
- llfloaterevent.cpp
- llfloaterexperiencepicker.cpp
- llfloaterexperienceprofile.cpp
- llfloaterexperiences.cpp
- llfloaterfriends.cpp
- llfloatergesture.cpp
- llfloatergodtools.cpp
- llfloatergroupbulkban.cpp
- llfloatergroupinfo.cpp
- llfloatergroupinvite.cpp
- llfloatergroups.cpp
- hbfloatergrouptitles.cpp
- llfloaterim.cpp
- llfloaterimagepreview.cpp
- llfloaterinspect.cpp
- llfloaterinventory.cpp
- hbfloaterinvitemspicker.cpp
- llfloaterjoystick.cpp
- llfloaterlagmeter.cpp
- llfloaterland.cpp
- llfloaterlandholdings.cpp
- hbfloatermakenewoutfit.cpp
- llfloatermarketplace.cpp
- llfloatermediabrowser.cpp
- slfloatermediafilter.cpp
- llfloatermediasettings.cpp
- llfloaterminimap.cpp
- llfloatermodelpreview.cpp
- llfloatermove.cpp
- llfloatermute.cpp
- llfloaternearbymedia.cpp
- llfloaternewim.cpp
- llfloaternotificationsconsole.cpp
- llfloaterobjectiminfo.cpp
- llfloaterobjectweights.cpp
- llfloateropenobject.cpp
- llfloaterparcel.cpp
- llfloaterpathfindingcharacters.cpp
- llfloaterpathfindinglinksets.cpp
- llfloaterpathfindingobjects.cpp
- llfloaterpay.cpp
- llfloaterperms.cpp
- llfloaterpostcard.cpp
- llfloaterpreference.cpp
- llfloaterproperties.cpp
- hbfloaterradar.cpp
- llfloaterregiondebugconsole.cpp
- llfloaterregioninfo.cpp
- llfloaterreporter.cpp
- hbfloaterrlv.cpp
- llfloatersearchreplace.cpp
- llfloaterscriptdebug.cpp
- llfloaterscriptqueue.cpp
- hbfloatersearch.cpp
- llfloatersellland.cpp
- llfloatersnapshot.cpp
- hbfloatersoundslist.cpp
- llfloaterstats.cpp
- llfloatertelehub.cpp
- hbfloaterteleporthistory.cpp
- hbfloatertextinput.cpp
- hbfloaterthumbnail.cpp
- llfloatertools.cpp
- llfloatertopobjects.cpp
- llfloatertos.cpp
- hbfloateruploadasset.cpp
- llfloaterurldisplay.cpp
- llfloaterurlentry.cpp
- llfloatervoicedevicesettings.cpp
- llfloaterwindlight.cpp
- llfloaterworldmap.cpp
- llfolderview.cpp
- llfollowcam.cpp
- llgesturemgr.cpp
- llgltfmateriallist.cpp
- llgltfmaterialpreview.cpp
- llgltfscenemanager.cpp
- llgridmanager.cpp
- llgroupmgr.cpp
- llgroupnotify.cpp
- llhoverview.cpp
- llhudeffect.cpp
- llhudeffectlookat.cpp
- llhudeffectpointat.cpp
- llhudeffectspiral.cpp
- llhudicon.cpp
- llhudmanager.cpp
- llhudobject.cpp
- llhudtext.cpp
- llhudview.cpp
- llimmgr.cpp
- llinventoryactions.cpp
- llinventorybridge.cpp
- hbinventoryclipboard.cpp
- llinventoryicon.cpp
- llinventorymodel.cpp
- llinventorymodelfetch.cpp
- lljoystickbutton.cpp
- lllandmarklist.cpp
- lllocalbitmaps.cpp
- lllocalgltfmaterials.cpp
- lllogchat.cpp
- llmanip.cpp
- llmaniprotate.cpp
- llmanipscale.cpp
- llmaniptranslate.cpp
- llmarketplacefunctions.cpp
- llmaterialmgr.cpp
- llmediactrl.cpp
- llmediadataclient.cpp
- llmediaremotectrl.cpp
- llmeshrepository.cpp
- llmorphview.cpp
- llmutelist.cpp
- llnotify.cpp
- hbobjectbackup.cpp
- lloverlaybar.cpp
- llpanelaudiovolume.cpp
- llpanelavatar.cpp
- llpanelclassified.cpp
- llpanelcontents.cpp
- llpaneldirbrowser.cpp
- llpaneldirclassified.cpp
- llpaneldirevents.cpp
- llpaneldirfind.cpp
- llpaneldirgroups.cpp
- llpaneldirland.cpp
- llpaneldirpeople.cpp
- llpaneldirplaces.cpp
- llpaneleditwearable.cpp
- llpanelenvsettings.cpp
- llpanelevent.cpp
- llpanelexperiencelisteditor.cpp
- llpanelexperiencelog.cpp
- llpanelface.cpp
- hbpanelgrids.cpp
- llpanelgroup.cpp
- llpanelgroupbulk.cpp
- llpanelgroupexperiences.cpp
- llpanelgroupgeneral.cpp
- llpanelgrouplandmoney.cpp
- llpanelgroupnotices.cpp
- llpanelgrouproles.cpp
- llpanelinventory.cpp
- llpanelland.cpp
- llpanellandaudio.cpp
- hbpanellandenvironment.cpp
- llpanellandmedia.cpp
- llpanellogin.cpp
- llpanelminimap.cpp
- llpanelobject.cpp
- llpanelpermissions.cpp
- llpanelpick.cpp
- llpanelplace.cpp
- llpanelvolume.cpp
- llpanelworldmap.cpp
- llparcelselection.cpp
- llpatchvertexarray.cpp
- llpathfindingcharacter.cpp
- llpathfindingcharacterlist.cpp
- llpathfindinglinkset.cpp
- llpathfindinglinksetlist.cpp
- llpathfindingmanager.cpp
- llpathfindingnavmesh.cpp
- llpathfindingnavmeshstatus.cpp
- llpathfindingobject.cpp
- llpathfindingobjectlist.cpp
- llphysicsmotion.cpp
- llpipeline.cpp
- llprefschat.cpp
- hbprefscool.cpp
- llprefsgeneral.cpp
- llprefsgraphics.cpp
- llprefsim.cpp
- llprefsinput.cpp
- llprefsmedia.cpp
- llprefsnetwork.cpp
- llprefsnotifications.cpp
- llprefsskins.cpp
- llprefsvoice.cpp
- hbpreprocessor.cpp
- llpreview.cpp
- llpreviewanim.cpp
- llpreviewgesture.cpp
- llpreviewlandmark.cpp
- llpreviewmaterial.cpp
- llpreviewnotecard.cpp
- llpreviewscript.cpp
- llpreviewsound.cpp
- llpreviewtexture.cpp
- llproductinforequest.cpp
- llprogressview.cpp
- llreflectionmapmanager.cpp
- mkrlinterface.cpp
- llsavedlogins.cpp
- llscrollingpanelparam.cpp
- llselectmgr.cpp
- llskinningutil.cpp
- llsky.cpp
- llslurl.cpp
- llspatialpartition.cpp
- llstartup.cpp
- llstatusbar.cpp
- llsurface.cpp
- llsurfacepatch.cpp
- lltexturecache.cpp
- lltexturectrl.cpp
- lltexturefetch.cpp
- lltextureview.cpp
- lltinygltfhelper.cpp
- qltoolalign.cpp
- lltoolbar.cpp
- lltoolbrushland.cpp
- lltoolcomp.cpp
- lltool.cpp
- lltooldraganddrop.cpp
- lltoolface.cpp
- lltoolfocus.cpp
- lltoolgrab.cpp
- lltoolmgr.cpp
- lltoolobjpicker.cpp
- lltoolpie.cpp
- lltoolpipette.cpp
- lltoolplacer.cpp
- lltoolselect.cpp
- lltoolselectland.cpp
- lltoolselectrect.cpp
- lltoolview.cpp
- lltracker.cpp
- llurldispatcher.cpp
- llvelocitybar.cpp
- llviewerassetstorage.cpp
- llviewerassetupload.cpp
- llvieweraudio.cpp
- hbviewerautomation.cpp
- llviewercamera.cpp
- llviewercontrol.cpp
- llviewerdisplay.cpp
- llviewerdisplayname.cpp
- llviewerfoldertype.cpp
- llviewergesture.cpp
- llviewerinventory.cpp
- llviewerjointattachment.cpp
- llviewerjoint.cpp
- llviewerjointmesh.cpp
- llviewerjoystick.cpp
- llviewerkeyboard.cpp
- llviewermedia.cpp
- llviewermediafocus.cpp
- llviewermenu.cpp
- llviewermessage.cpp
- llviewerobject.cpp
- llviewerobjectexport.cpp
- llviewerobjectlist.cpp
- llvieweroctree.cpp
- llviewerparcelmedia.cpp
- llviewerparcelmgr.cpp
- llviewerparceloverlay.cpp
- llviewerpartsim.cpp
- llviewerpartsource.cpp
- llviewerregion.cpp
- llviewershadermgr.cpp
- llviewerstats.cpp
- llviewertexlayer.cpp
- llviewertexteditor.cpp
- llviewertextureanim.cpp
- llviewertexture.cpp
- llviewertexturelist.cpp
- llviewerthrottle.cpp
- llviewerwearable.cpp
- llviewerwindow.cpp
- llvisualparamhint.cpp
- llvlcomposition.cpp
- llvlmanager.cpp
- llvoavatar.cpp
- llvoavatarpuppet.cpp
- llvoavatarself.cpp
- llvocache.cpp
- llvoclouds.cpp
- llvograss.cpp
- llvoicechannel.cpp
- llvoiceclient.cpp
- llvoiceremotectrl.cpp
- llvoicevisualizer.cpp
- llvoicevivox.cpp
- llvoicewebrtc.cpp
- llvoinventorylistener.cpp
- llvopartgroup.cpp
- llvosky.cpp
- llvosurfacepatch.cpp
- llvotree.cpp
- llvovolume.cpp
- llvowater.cpp
- llvowlsky.cpp
- llwearablelist.cpp
- llweb.cpp
- llwind.cpp
- llwlskyparammgr.cpp
- llwlwaterparammgr.cpp
- llworld.cpp
- llworldmap.cpp
- )
- # This gets renamed in the packaging step
- set(VIEWER_BINARY_NAME "CoolVLViewer" CACHE STRING
- "The name of the viewer executable to create.")
- set(viewer_HEADER_FILES
- CMakeLists.txt
- llagent.h
- llagentpilot.h
- llagentwearables.h
- llaisapi.h
- llappcorehttp.h
- llappearancemgr.h
- llappviewer.h
- llaudiosourcevo.h
- llavataractions.h
- llavatarproperties.h
- llavatartracker.h
- llchat.h
- llchatbar.h
- llcloud.h
- llcolorswatch.h
- llcommandhandler.h
- llcurrencyuimanager.h
- lldebugview.h
- lldrawable.h
- lldrawpool.h
- lldrawpoolalpha.h
- lldrawpoolavatar.h
- lldrawpoolbump.h
- lldrawpoolmaterials.h
- lldrawpoolsimple.h
- lldrawpoolsky.h
- lldrawpoolterrain.h
- lldrawpooltree.h
- lldrawpoolwater.h
- lldrawpoolwlsky.h
- lldynamictexture.h
- llenvironment.h
- llenvsettings.h
- lleventnotifier.h
- lleventpoll.h
- llexperiencelog.h
- llface.h
- llfasttimerview.h
- llfeaturemanager.h
- llfetchedgltfmaterial.h
- llfirstuse.h
- llflexibleobject.h
- llfloaterabout.h
- llfloateractivespeakers.h
- llfloateranimpreview.h
- hbfloaterareasearch.h
- llfloaterauction.h
- llfloateravatarinfo.h
- llfloateravatarpicker.h
- llfloateravatartextures.h
- llfloaterbeacons.h
- llfloaterbulkpermission.h
- hbfloaterbump.h
- llfloaterbuy.h
- llfloaterbuycontents.h
- llfloaterbuycurrency.h
- llfloaterbuyland.h
- llfloatercamera.h
- llfloaterchat.h
- llfloaterchatterbox.h
- llfloaterclassified.h
- llfloatercolorpicker.h
- llfloatercustomize.h
- llfloaterdebugsettings.h
- hbfloaterdebugtags.h
- llfloaterdisplayname.h
- hbfloatereditenvsettings.h
- llfloatereditui.h
- llfloaterevent.h
- llfloaterexperiencepicker.h
- llfloaterexperienceprofile.h
- llfloaterexperiences.h
- llfloaterfriends.h
- llfloatergesture.h
- llfloatergodtools.h
- llfloatergroupbulkban.h
- llfloatergroupinfo.h
- llfloatergroupinvite.h
- llfloatergroups.h
- hbfloatergrouptitles.h
- llfloaterim.h
- llfloaterimagepreview.h
- llfloaterinspect.h
- llfloaterinventory.h
- hbfloaterinvitemspicker.h
- llfloaterjoystick.h
- llfloaterlagmeter.h
- llfloaterland.h
- llfloaterlandholdings.h
- hbfloatermakenewoutfit.h
- llfloatermarketplace.h
- llfloatermediabrowser.h
- slfloatermediafilter.h
- llfloatermediasettings.h
- llfloaterminimap.h
- llfloatermodelpreview.h
- llfloatermove.h
- llfloatermute.h
- llfloaternearbymedia.h
- llfloaternewim.h
- llfloaternotificationsconsole.h
- llfloaterobjectiminfo.h
- llfloaterobjectweights.h
- llfloateropenobject.h
- llfloaterparcel.h
- llfloaterpathfindingcharacters.h
- llfloaterpathfindinglinksets.h
- llfloaterpathfindingobjects.h
- llfloaterpay.h
- llfloaterpostcard.h
- llfloaterpreference.h
- llfloaterperms.h
- llfloaterproperties.h
- hbfloaterradar.h
- llfloaterregiondebugconsole.h
- llfloaterregioninfo.h
- llfloaterreporter.h
- hbfloaterrlv.h
- llfloatersearchreplace.h
- llfloaterscriptdebug.h
- llfloaterscriptqueue.h
- hbfloatersearch.h
- llfloatersellland.h
- llfloatersnapshot.h
- hbfloatersoundslist.h
- llfloaterstats.h
- llfloatertelehub.h
- hbfloaterteleporthistory.h
- hbfloatertextinput.h
- hbfloaterthumbnail.h
- llfloatertools.h
- llfloatertopobjects.h
- llfloatertos.h
- hbfloateruploadasset.h
- llfloaterurldisplay.h
- llfloaterurlentry.h
- llfloatervoicedevicesettings.h
- llfloaterwindlight.h
- llfloaterworldmap.h
- llfolderview.h
- llfollowcam.h
- llgesturemgr.h
- llgltfmateriallist.h
- llgltfmaterialpreview.h
- llgltfscenemanager.h
- llgridmanager.h
- llgroupmgr.h
- llgroupnotify.h
- llhoverview.h
- llhudeffect.h
- llhudeffectlookat.h
- llhudeffectpointat.h
- llhudeffectspiral.h
- llhudicon.h
- llhudmanager.h
- llhudobject.h
- llhudtext.h
- llhudview.h
- llimmgr.h
- llinventoryactions.h
- llinventorybridge.h
- hbinventoryclipboard.h
- llinventoryicon.h
- llinventorymodel.h
- llinventorymodelfetch.h
- lljoystickbutton.h
- lllandmarklist.h
- lllocalbitmaps.h
- lllocalgltfmaterials.h
- lllogchat.h
- llmanip.h
- llmaniprotate.h
- llmanipscale.h
- llmaniptranslate.h
- llmarketplacefunctions.h
- llmaterialmgr.h
- llmediactrl.h
- llmediadataclient.h
- llmediaremotectrl.h
- llmeshrepository.h
- llmorphview.h
- llmutelist.h
- llnotify.h
- hbobjectbackup.h
- lloverlaybar.h
- llpanelaudiovolume.h
- llpanelavatar.h
- llpanelclassified.h
- llpanelcontents.h
- llpaneldirbrowser.h
- llpaneldirclassified.h
- llpaneldirevents.h
- llpaneldirfind.h
- llpaneldirgroups.h
- llpaneldirland.h
- llpaneldirpeople.h
- llpaneldirplaces.h
- llpaneleditwearable.h
- llpanelenvsettings.h
- llpanelevent.h
- llpanelexperiencelisteditor.h
- llpanelexperiencelog.h
- llpanelface.h
- hbpanelgrids.h
- llpanelgroup.h
- llpanelgroupbulk.h
- llpanelgroupexperiences.h
- llpanelgroupgeneral.h
- llpanelgrouplandmoney.h
- llpanelgroupnotices.h
- llpanelgrouproles.h
- llpanelinventory.h
- llpanelland.h
- llpanellandaudio.h
- hbpanellandenvironment.h
- llpanellandmedia.h
- llpanellogin.h
- llpanelminimap.h
- llpanelobject.h
- llpanelpermissions.h
- llpanelpick.h
- llpanelplace.h
- llpanelvolume.h
- llpanelworldmap.h
- llparcelselection.h
- llpatchvertexarray.h
- llpathfindingcharacter.h
- llpathfindingcharacterlist.h
- llpathfindinglinkset.h
- llpathfindinglinksetlist.h
- llpathfindingmanager.h
- llpathfindingnavmesh.h
- llpathfindingnavmeshstatus.h
- llpathfindingobject.h
- llpathfindingobjectlist.h
- llphysicsmotion.h
- llpipeline.h
- llprefschat.h
- hbprefscool.h
- llprefsgeneral.h
- llprefsgraphics.h
- llprefsim.h
- llprefsinput.h
- llprefsmedia.h
- llprefsnetwork.h
- llprefsnotifications.h
- llprefsskins.h
- llprefsvoice.h
- hbpreprocessor.h
- llpreview.h
- llpreviewanim.h
- llpreviewgesture.h
- llpreviewlandmark.h
- llpreviewmaterial.h
- llpreviewnotecard.h
- llpreviewscript.h
- llpreviewsound.h
- llpreviewtexture.h
- llproductinforequest.h
- llprogressview.h
- llreflectionmapmanager.h
- mkrlinterface.h
- llsavedlogins.h
- llscrollingpanelparam.h
- llselectmgr.h
- llskinningutil.h
- llsky.h
- llslurl.h
- llspatialpartition.h
- llstartup.h
- llstatusbar.h
- llsurface.h
- llsurfacepatch.h
- lltexturecache.h
- lltexturectrl.h
- lltexturefetch.h
- lltextureview.h
- lltinygltfhelper.h
- lltool.h
- qltoolalign.h
- lltoolbar.h
- lltoolbrushland.h
- lltoolcomp.h
- lltooldraganddrop.h
- lltoolface.h
- lltoolfocus.h
- lltoolgrab.h
- lltoolmgr.h
- lltoolobjpicker.h
- lltoolpie.h
- lltoolpipette.h
- lltoolplacer.h
- lltoolselect.h
- lltoolselectland.h
- lltoolselectrect.h
- lltoolview.h
- lltracker.h
- llurldispatcher.h
- llvelocitybar.h
- llviewerassetstorage.h
- llviewerassetupload.h
- llvieweraudio.h
- hbviewerautomation.h
- llviewercamera.h
- llviewercontrol.h
- llviewerdisplay.h
- llviewerdisplayname.h
- llviewerfoldertype.h
- llviewergesture.h
- llviewerinventory.h
- llviewerjoint.h
- llviewerjointattachment.h
- llviewerjointmesh.h
- llviewerjoystick.h
- llviewerkeyboard.h
- llviewermedia.h
- llviewermediafocus.h
- llviewermenu.h
- llviewermessage.h
- llviewerobject.h
- llviewerobjectexport.h
- llviewerobjectlist.h
- llvieweroctree.h
- llviewerparcelmedia.h
- llviewerparcelmgr.h
- llviewerparceloverlay.h
- llviewerpartsim.h
- llviewerpartsource.h
- llviewerprecompiledheaders.h
- llviewerregion.h
- llviewershadermgr.h
- llviewerstats.h
- llviewertexlayer.h
- llviewertexteditor.h
- llviewertextureanim.h
- llviewertexture.h
- llviewertexturelist.h
- llviewerthrottle.h
- llviewerwearable.h
- llviewerwindow.h
- llvisualparamhint.h
- llvlcomposition.h
- llvlmanager.h
- llvoavatar.h
- llvoavatarpuppet.h
- llvoavatarself.h
- llvocache.h
- llvoclouds.h
- llvograss.h
- llvoicechannel.h
- llvoiceclient.h
- llvoiceremotectrl.h
- llvoicevisualizer.h
- llvoicevivox.h
- llvoicewebrtc.h
- llvoinventorylistener.h
- llvopartgroup.h
- llvosky.h
- llvosurfacepatch.h
- llvotree.h
- llvovolume.h
- llvowater.h
- llvowlsky.h
- llweb.h
- llwind.h
- llwlskyparammgr.h
- llwlwaterparammgr.h
- llworld.h
- llworldmap.h
- roles_constants.h
- )
- if (ENABLE_PUPPETRY)
- list(APPEND viewer_SOURCE_FILES llpuppetmodule.cpp llpuppetmotion.cpp)
- list(APPEND viewer_HEADER_FILES llpuppetmodule.h llpuppetmotion.h)
- endif (ENABLE_PUPPETRY)
- if (DARWIN)
- list(APPEND viewer_HEADER_FILES llappviewermacosx-objc.h)
- list(APPEND viewer_SOURCE_FILES llappviewermacosx.cpp)
- list(APPEND viewer_SOURCE_FILES llappviewermacosx-objc.mm)
- # This should be compiled with the viewer.
- list(APPEND viewer_SOURCE_FILES llappdelegate-objc.mm)
- include(CMakeFindFrameworks)
- find_library(CARBON_LIBRARY Carbon)
- find_library(AGL_LIBRARY AGL)
- find_library(APPKIT_LIBRARY AppKit)
- find_library(COCOA_LIBRARY Cocoa)
- find_library(IOKIT_LIBRARY IOKit)
- if (OPENMP)
- set(viewer_LIBRARIES
- ${COCOA_LIBRARY}
- ${CARBON_LIBRARY}
- ${AGL_LIBRARY}
- ${IOKIT_LIBRARY}
- omp
- )
- else (OPENMP)
- set(viewer_LIBRARIES
- ${COCOA_LIBRARY}
- ${CARBON_LIBRARY}
- ${AGL_LIBRARY}
- ${IOKIT_LIBRARY}
- )
- endif (OPENMP)
- # Add resource files to the project.
- set(viewer_RESOURCE_FILES
- ${VIEWER_BRANDING_ID}.icns
- Info-${VIEWER_BRANDING_NAME_CAMELCASE}.plist
- ${VIEWER_BRANDING_NAME_CAMELCASE}.xib
- # CMake does not seem to support Xcode language variants well just yet
- English.lproj/InfoPlist.strings
- English.lproj/language.txt
- )
- set_source_files_properties(
- ${viewer_RESOURCE_FILES}
- PROPERTIES
- HEADER_FILE_ONLY TRUE
- #MACOSX_PACKAGE_LOCATION Resources #don't do this! this tells cmake to copy the files.
- )
- source_group("Resources" FILES ${viewer_RESOURCE_FILES})
- list(APPEND viewer_SOURCE_FILES ${viewer_RESOURCE_FILES})
- endif (DARWIN)
- if (LINUX)
- list(APPEND viewer_SOURCE_FILES llappviewerlinux.cpp)
- if (OPENMP)
- set(viewer_LIBRARIES ${GLIB_LIBRARIES} Xinerama omp)
- else (OPENMP)
- set(viewer_LIBRARIES ${GLIB_LIBRARIES} Xinerama)
- endif (OPENMP)
- endif (LINUX)
- if (WINDOWS)
- list(APPEND viewer_SOURCE_FILES
- llappviewerwin32.cpp
- windows.manifest
- )
- list(APPEND viewer_HEADER_FILES
- llappviewerwin32.h
- )
- # NOTE: this trick is only useful with old cmake versions. With v3.16.0+,
- # we use cmake's new target_precompile_headers instead. HB
- if (${CMAKE_VERSION} VERSION_LESS "3.16.0")
- # Pre-compiled header configuration; llviewerprecompiledheaders.cpp
- # generates the .pch file. All sources added to viewer_SOURCE_FILES at this
- # point use it. We also add /Zm150 to avoid running out of memory (due to
- # large includes).
- set_source_files_properties(llviewerprecompiledheaders.cpp
- PROPERTIES
- COMPILE_FLAGS "/Ycllviewerprecompiledheaders.h /Zm150"
- )
- foreach(src_file ${viewer_SOURCE_FILES})
- set_source_files_properties(
- ${src_file}
- PROPERTIES
- COMPILE_FLAGS "/Yullviewerprecompiledheaders.h /Zm150"
- )
- endforeach(src_file ${viewer_SOURCE_FILES})
- list(APPEND viewer_SOURCE_FILES llviewerprecompiledheaders.cpp)
- endif (${CMAKE_VERSION} VERSION_LESS "3.16.0")
- # Add resource files to the project. viewerRes.rc is the only buildable file,
- # but the rest are all dependencies of it.
- set(viewer_RESOURCE_FILES
- res/arrow.cur
- res/arrowcop.cur
- res/arrowcopmulti.cur
- res/arrowdrag.cur
- res/circleandline.cur
- res/icon1.ico
- res/llarrow.cur
- res/llarrowdrag.cur
- res/llarrowdragmulti.cur
- res/llarrowlocked.cur
- res/llgrablocked.cur
- res/llno.cur
- res/llnolocked.cur
- res/lltoolcamera.cur
- res/lltoolcreate.cur
- res/lltoolfocus.cur
- res/lltoolgrab.cur
- res/lltoolland.cur
- res/lltoolpan.cur
- res/lltoolpipette.cur
- res/lltoolrotate.cur
- res/lltoolscale.cur
- res/lltooltranslate.cur
- res/lltoolzoomin.cur
- res/lltoolzoomout.cur
- res/ll_icon.BMP
- res/ll_icon.ico
- res/resource.h
- res/toolbuy.cur
- res/toolopen.cur
- res/toolpay.cur
- res/toolpickobject.cur
- res/toolpickobject2.cur
- res/toolpickobject3.cur
- res/toolpipette.cur
- res/toolsit.cur
- res/lltoolpathfinding.cur
- res/lltoolpathfindingpathend.cur
- res/lltoolpathfindingpathendadd.cur
- res/lltoolpathfindingpathstart.cur
- res/lltoolpathfindingpathstartadd.cur
- res/llno.cur
- )
- set_source_files_properties(${viewer_RESOURCE_FILES}
- PROPERTIES HEADER_FILE_ONLY TRUE)
- set(viewer_RESOURCE_FILES
- res/resource.h
- res/viewerRes.rc
- ${viewer_RESOURCE_FILES}
- )
- source_group("Resource Files" FILES ${viewer_RESOURCE_FILES})
- list(APPEND viewer_SOURCE_FILES ${viewer_RESOURCE_FILES})
- set(viewer_LIBRARIES
- opengl32
- comdlg32
- dxguid
- kernel32
- odbc32
- odbccp32
- ole32
- oleaut32
- Vfw32
- winspool
- )
- find_library(INTEL_MEMOPS_LIBRARY
- NAMES ll_intel_memops
- PATHS
- optimized ${ARCH_PREBUILT_DIRS_RELEASE}
- debug ${ARCH_PREBUILT_DIRS_DEBUG}
- )
- mark_as_advanced(INTEL_MEMOPS_LIBRARY)
- if (INTEL_MEMOPS_LIBRARY)
- list(APPEND viewer_LIBRARIES ${INTEL_MEMOPS_LIBRARY})
- endif (INTEL_MEMOPS_LIBRARY)
- endif (WINDOWS)
- # Add the xui files. This is handy for searching for xui elements from within
- ## the IDE.
- file(GLOB viewer_XUI_FILE_GLOB_LIST
- ${CMAKE_CURRENT_SOURCE_DIR}/skins/default/xui/en-us/*.xml
- )
- set(viewer_XUI_FILES
- ${CMAKE_CURRENT_SOURCE_DIR}/skins/default/colors_base.xml
- )
- list(APPEND viewer_XUI_FILES ${viewer_XUI_FILE_GLOB_LIST})
- list(SORT viewer_XUI_FILES)
- source_group("XUI Files" FILES ${viewer_XUI_FILES})
- set_source_files_properties(${viewer_XUI_FILES}
- PROPERTIES HEADER_FILE_ONLY TRUE)
- list(APPEND viewer_SOURCE_FILES ${viewer_XUI_FILES})
- set(viewer_APPSETTINGS_FILES
- app_settings/anim.ini
- app_settings/cmd_line.xml
- app_settings/grass.xml
- app_settings/grids.xml
- app_settings/gpu_table.txt
- app_settings/high_graphics.xml
- app_settings/keys.ini
- app_settings/keywords.ini
- app_settings/logcontrol.xml
- app_settings/low_graphics.xml
- app_settings/mid_graphics.xml
- app_settings/mime_types.xml
- app_settings/message.xml
- app_settings/settings.xml
- app_settings/settings_files.xml
- app_settings/settings_per_account.xml
- app_settings/std_bump.ini
- app_settings/trees.xml
- app_settings/ultra_graphics.xml
- app_settings/message_template.msg
- )
- source_group("App Settings" FILES ${viewer_APPSETTINGS_FILES})
- set_source_files_properties(${viewer_APPSETTINGS_FILES}
- PROPERTIES HEADER_FILE_ONLY TRUE)
- list(APPEND viewer_SOURCE_FILES ${viewer_APPSETTINGS_FILES})
- set(viewer_CHARACTER_FILES
- character/attentions.xml
- character/avatar_lad.xml
- character/avatar_skeleton.xml
- character/avatar_constraint.llsd
- )
- source_group("Character File" FILES ${viewer_CHARACTER_FILES})
- set_source_files_properties(${viewer_CHARACTER_FILES}
- PROPERTIES HEADER_FILE_ONLY TRUE)
- list(APPEND viewer_SOURCE_FILES ${viewer_CHARACTER_FILES})
- list(APPEND viewer_SOURCE_FILES ${viewer_HEADER_FILES})
- set_source_files_properties(${viewer_HEADER_FILES}
- PROPERTIES HEADER_FILE_ONLY TRUE)
- add_executable(${VIEWER_BINARY_NAME}
- WIN32
- MACOSX_BUNDLE
- ${viewer_SOURCE_FILES}
- )
- # *NOTE: - this list is very sensitive to ordering, test carefully on all
- # platforms if you change the releative order of the entries here.
- # In particular, cmake 2.6.4 (when buidling with linux/makefile generators)
- # appears to sometimes de-duplicate redundantly listed dependencies improperly.
- # To work around this, higher level modules should be listed before the modules
- # that they depend upon. -brad
- #
- # *NOTE: On mixing system shared libraries and updated static archives. We use
- # a number of libraries that have an existence as system libraries, internal
- # use libraries and applications libraries. The most-referenced one of these
- # is libz where you can find four or more versions in play at once. On Linux,
- # libz can be found at link and run time via a number of paths:
- #
- # => -lfreetype
- # => libz.so.1 (on install machine, not build)
- # => -lSDL
- # => libz.so.1 (on install machine, not build)
- # => -lz
- #
- # We generally want the newest version of the library to provide all symbol
- # resolution. To that end, when using static archives, the *_PRELOAD_ARCHIVES
- # variables, PNG_PRELOAD_ARCHIVES and ZLIB_PRELOAD_ARCHIVES, get the archives
- # dumped into the target binary and runtime lookup will find the most modern
- # version.
- target_link_libraries(${VIEWER_BINARY_NAME}
- # Make sure MIMALLOC_OBJECT and WINDOWS_LIBRARIES appear first in the list of
- # target link libraries. HB
- ${MIMALLOC_OBJECT}
- ${WINDOWS_LIBRARIES}
- ${PNG_PRELOAD_ARCHIVES}
- ${ZLIB_PRELOAD_ARCHIVES}
- ${LLAPPEARANCE_LIBRARIES}
- ${LLAUDIO_LIBRARIES}
- ${LLCHARACTER_LIBRARIES}
- ${LLIMAGE_LIBRARIES}
- ${LLIMAGEJ2COJ_LIBRARIES}
- ${LLINVENTORY_LIBRARIES}
- ${LLMESSAGE_LIBRARIES}
- ${LLPLUGIN_LIBRARIES}
- ${LLGLTF_LIBRARIES}
- ${LLPRIMITIVE_LIBRARIES}
- ${LLRENDER_LIBRARIES}
- ${FREETYPE2_LIBRARIES}
- ${LLUI_LIBRARIES}
- ${LLFILESYSTEM_LIBRARIES}
- ${LLWINDOW_LIBRARIES}
- ${LLXML_LIBRARIES}
- ${LLMATH_LIBRARIES}
- ${LLCOMMON_LIBRARIES}
- ${NDOF_LIBRARY}
- ${FMODWRAPPER_LIBRARY}
- ${GLOD_LIBRARIES}
- ${HUNSPELL_LIBRARY}
- ${LUA_LIBRARIES}
- ${OPENGL_LIBRARIES}
- ${SDL_LIBRARY}
- ${SMARTHEAP_LIBRARY}
- ${UI_LIBRARIES}
- ${ELFIO_LIBRARIES}
- ${LLCONVEXDECOMP_LIBRARY}
- ${HACD_LIBRARY}
- ${viewer_LIBRARIES}
- ${JEMALLOC_LIBRARY}
- )
- # Add OS-independent dependencies for plugins
- add_dependencies(${VIEWER_BINARY_NAME} SLPlugin media_plugin_cef media_plugin_gstreamer)
- if (NOT ${CMAKE_VERSION} VERSION_LESS "3.16.0")
- target_precompile_headers(${VIEWER_BINARY_NAME} PRIVATE llviewerprecompiledheaders.h <llfasttimer.h> <llfloater.h> <glh_linear.h>)
- endif()
- if (ENABLE_PUPPETRY)
- set(CUSTOM_OPTION "${CUSTOM_OPTION} puppetry")
- endif (ENABLE_PUPPETRY)
- if (OPENMP)
- set(CUSTOM_OPTION "${CUSTOM_OPTION} openmp")
- endif (OPENMP)
- if (NOT DARWIN)
- set(PACKAGE_DEFAULT ON)
- else (NOT DARWIN)
- set(PACKAGE_DEFAULT OFF)
- endif (NOT DARWIN)
- set(PACKAGE ${PACKAGE_DEFAULT} CACHE BOOL
- "Add a packaging target that builds an installer package.")
- set(MANIFEST_SCRIPT ${CMAKE_SOURCE_DIR}/../scripts/viewer_manifest.py)
- if (WINDOWS)
- set_target_properties(${VIEWER_BINARY_NAME}
- PROPERTIES
- LINK_FLAGS "/debug /NODEFAULTLIB:LIBCMT /SUBSYSTEM:WINDOWS"
- LINK_FLAGS_DEBUG "/NODEFAULTLIB:\"LIBCMT;LIBCMTD;MSVCRT\" /INCREMENTAL:NO"
- LINK_FLAGS_RELEASE "/FORCE:MULTIPLE /OPT:REF"
- )
- set(RELEASE_VIEWER_DIR "viewer-win64-release")
- add_custom_command(
- OUTPUT ${CMAKE_CFG_INTDIR}/touched.bat
- COMMAND ${PYTHON_EXECUTABLE}
- ARGS
- ${MANIFEST_SCRIPT}
- --configuration=${CMAKE_CFG_INTDIR}
- --branding_id=${VIEWER_BRANDING_ID}
- --source=${CMAKE_CURRENT_SOURCE_DIR}
- --build=${CMAKE_CURRENT_BINARY_DIR}
- --dest=${CMAKE_SOURCE_DIR}/../${RELEASE_VIEWER_DIR}
- --touch=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/touched.bat
- --custom=${CUSTOM_OPTION}
- DEPENDS ${VIEWER_BINARY_NAME} ${MANIFEST_SCRIPT}
- )
- if (PACKAGE)
- add_custom_target(packaging ALL DEPENDS ${VIEWER_BINARY_NAME} ${CMAKE_CFG_INTDIR}/touched.bat)
- endif (PACKAGE)
- endif (WINDOWS)
- if (LINUX)
- find_program(EUSTRIP eu-strip)
- if (EUSTRIP)
- add_custom_command(
- OUTPUT ${VIEWER_BINARY_NAME}-stripped
- COMMAND eu-strip
- ARGS --strip-debug --remove-comment -o ${VIEWER_BINARY_NAME}-stripped -f ${VIEWER_BINARY_NAME}.debug ${VIEWER_BINARY_NAME}
- DEPENDS ${VIEWER_BINARY_NAME}
- COMMENT "Creating the stripped binary and the debug symbols files."
- )
- else (EUSTRIP)
- add_custom_command(
- OUTPUT ${VIEWER_BINARY_NAME}-stripped
- COMMAND strip
- ARGS --strip-debug -o ${VIEWER_BINARY_NAME}-stripped ${VIEWER_BINARY_NAME}
- DEPENDS ${VIEWER_BINARY_NAME}
- COMMENT "Creating the stripped binary."
- )
- endif (EUSTRIP)
- set(product ${VIEWER_BRANDING_NAME_CAMELCASE}-${ARCH}-${viewer_VER})
- add_custom_command(
- OUTPUT ${product}.tar.bz2
- COMMAND ${PYTHON_EXECUTABLE}
- ARGS
- ${MANIFEST_SCRIPT}
- --branding_id=${VIEWER_BRANDING_ID}
- --installer_name=${product}
- --source=${CMAKE_CURRENT_SOURCE_DIR}
- --build=${CMAKE_CURRENT_BINARY_DIR}
- --dest=${CMAKE_CURRENT_BINARY_DIR}/packaged
- --touch=${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/.${product}.touched
- --buildtype=${CMAKE_BUILD_TYPE}
- --custom=${CUSTOM_OPTION}
- DEPENDS ${VIEWER_BINARY_NAME}-stripped ${MANIFEST_SCRIPT}
- COMMENT "Performing viewer_manifest copy"
- )
- if (PACKAGE)
- add_custom_target(packaging ALL DEPENDS ${product}.tar.bz2)
- endif (PACKAGE)
- endif (LINUX)
- if (DARWIN)
- string(TIMESTAMP CURRENTYEAR "%Y")
- set(product ${VIEWER_BRANDING_NAME})
- set(MACOSX_BUNDLE_INFO_STRING "${VIEWER_BRANDING_NAME}")
- set(MACOSX_BUNDLE_ICON_FILE "${VIEWER_BRANDING_ID}.icns")
- set(MACOSX_BUNDLE_GUI_IDENTIFIER "com.secondlife.coolvlviewer")
- set(MACOSX_BUNDLE_BUNDLE_NAME "${VIEWER_BRANDING_NAME}")
- set(MACOSX_BUNDLE_LONG_VERSION_STRING "${viewer_VER}")
- set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${viewer_VER}")
- set(MACOSX_BUNDLE_BUNDLE_VERSION "${viewer_VER}")
- set(MACOSX_BUNDLE_COPYRIGHT "Copyright (c) 2007-${CURRENTYEAR} Linden Research Inc., Henri Beauchamp and many other Open Source contributors")
- set(MACOSX_BUNDLE_NSMAIN_NIB_FILE "${VIEWER_BRANDING_NAME_CAMELCASE}.nib")
- set(MACOSX_BUNDLE_NSPRINCIPAL_CLASS "LLApplication")
- set_target_properties(
- ${VIEWER_BINARY_NAME}
- PROPERTIES
- OUTPUT_NAME "${product}"
- MACOSX_BUNDLE_INFO_PLIST "${CMAKE_CURRENT_SOURCE_DIR}/Info-${VIEWER_BRANDING_NAME_CAMELCASE}.plist"
- XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "${MACOSX_BUNDLE_GUI_IDENTIFIER}"
- )
- configure_file(
- "${CMAKE_CURRENT_SOURCE_DIR}/Info-${VIEWER_BRANDING_NAME_CAMELCASE}.plist"
- "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${product}.app/Contents/Info.plist"
- )
- add_custom_command(
- TARGET ${VIEWER_BINARY_NAME} PRE_BUILD
- COMMAND ibtool
- ARGS --compile ${CMAKE_CURRENT_SOURCE_DIR}/${VIEWER_BRANDING_NAME_CAMELCASE}.nib ${CMAKE_CURRENT_SOURCE_DIR}/${VIEWER_BRANDING_NAME_CAMELCASE}.xib
- DEPENDS ${VIEWER_BRANDING_NAME_CAMELCASE}.xib
- COMMENT "Generating the ${VIEWER_BRANDING_NAME_CAMELCASE}.nib file from ${VIEWER_BRANDING_NAME_CAMELCASE}.xib."
- )
- add_custom_command(
- TARGET ${VIEWER_BINARY_NAME} POST_BUILD
- COMMAND ${PYTHON_EXECUTABLE}
- ARGS
- ${MANIFEST_SCRIPT}
- --actions=copy
- --configuration=${CMAKE_CFG_INTDIR}
- --source=${CMAKE_CURRENT_SOURCE_DIR}
- --branding_id=${VIEWER_BRANDING_ID}
- --build=${CMAKE_CURRENT_BINARY_DIR}
- --dest=${CMAKE_CURRENT_BINARY_DIR}/../${product}.app
- --buildtype=${CMAKE_BUILD_TYPE}
- --custom=${CUSTOM_OPTION}
- DEPENDS ${VIEWER_BINARY_NAME} ${VIEWER_BRANDING_NAME_CAMELCASE}.nib ${MANIFEST_SCRIPT}
- COMMENT "Performing viewer_manifest copy"
- )
- endif (DARWIN)
- get_directory_property(ALLDEFINES COMPILE_DEFINITIONS)
- message("newview COMPILE_DEFINITIONS = ${ALLDEFINES}")
- foreach(d ${ALLDEFINES})
- if (WINDOWS)
- set(defines "${defines} /D${d}")
- else (WINDOWS)
- set(defines "${defines} -D${d}")
- endif (WINDOWS)
- endforeach()
- string(TOUPPER "${CMAKE_BUILD_TYPE}" build_type)
- if ("${build_type}" STREQUAL "DEBUG")
- set(compiler_flags "${CMAKE_CXX_FLAGS_DEBUG}")
- elseif ("${build_type}" STREQUAL "RELWITHDEBINFO")
- set(compiler_flags "${CMAKE_CXX_FLAGS_RELWITHDEBINFO}")
- else ()
- set(compiler_flags "${CMAKE_CXX_FLAGS_RELEASE}")
- endif ()
- if (USELTO AND NOT "${CMAKE_CXX_COMPILE_OPTIONS_IPO}" STREQUAL "")
- foreach(f ${CMAKE_CXX_COMPILE_OPTIONS_IPO})
- set(compiler_flags "${compiler_flags} ${f}")
- endforeach()
- endif ()
- set(compiler_flags "${compiler_flags} ${CMAKE_CXX_FLAGS}${defines}")
- message(STATUS "Compile flags for target ${CMAKE_BUILD_TYPE} = ${compiler_flags}")
- if (SELECTED_LINKER)
- message(STATUS "Using ld.${SELECTED_LINKER} as the linker.")
- endif (SELECTED_LINKER)
- # This is used in llfloaterabout.cpp to include the compile flags in the
- # Version info tab
- add_definitions(-DLL_COMPILE_FLAGS="\"${compiler_flags}\"")
- # When using new libcurl, ngttp2 is also in use, so signal that as well for use
- # in llfloaterabout.cpp. Also enable the workaround for the HTTP pipelining bug
- # in new libcurl when in use...
- if (USE_NEW_LIBCURL)
- add_definitions(-DLL_NGHTTP2=1)
- add_definitions(-DLL_CURL_BUG=1)
- endif (USE_NEW_LIBCURL)
|