<feed xmlns='http://www.w3.org/2005/Atom'>
<title>viewer.git/indra/cmake/DirectX.cmake, branch 26.1.1</title>
<subtitle>Megapahit's fork of the Second Life viewer.
</subtitle>
<id>https://megapahit.org/viewer.git/atom?h=26.1.1</id>
<link rel='self' href='https://megapahit.org/viewer.git/atom?h=26.1.1'/>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/'/>
<updated>2020-05-20T14:46:55Z</updated>
<entry>
<title>Remove DirectX.cmake. With recent SDKs (dating back to at least VS 2013</title>
<updated>2020-05-20T14:46:55Z</updated>
<author>
<name>Nicky Dasmijn</name>
<email>nicky.dasmijn@phoenixviewer.com</email>
</author>
<published>2020-05-18T22:03:19Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=6148a6443af886f9b71b4c88084db943950e146c'/>
<id>urn:sha1:6148a6443af886f9b71b4c88084db943950e146c</id>
<content type='text'>
and the 8.1 SDK) DirectX is included in the SDK and does not need any
special detection logic.
</content>
</entry>
<entry>
<title>DRTVWR-476: Use find_library(dxguid) rather than find_path().</title>
<updated>2020-05-11T15:44:51Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2020-05-11T15:39:27Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=c74810ca3fc7e5a3f6b84a3d3259294aaa9288be'/>
<id>urn:sha1:c74810ca3fc7e5a3f6b84a3d3259294aaa9288be</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DRTVWR-476: Help DirectX.cmake cope with multiple SDK versions.</title>
<updated>2020-05-07T20:59:19Z</updated>
<author>
<name>Nat Goodspeed</name>
<email>nat@lindenlab.com</email>
</author>
<published>2020-05-07T20:59:19Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=92c70ff637da5fda06aaeb40914c77499bf2d0ce'/>
<id>urn:sha1:92c70ff637da5fda06aaeb40914c77499bf2d0ce</id>
<content type='text'>
First, get rid of ancient cruft in the find_path() calls: on a 64-bit system,
"$ENV{PROGRAMFILES}" expands to the 64-bit 'Program Files' directory rather
than the 32-bit 'Program Files (x86)' directory, and none of the ancient cruft
would be found there anyway.

Empirically, find_path(dxdiag.h) is able to find the file using environment
variables (INCLUDE from VS variables?), so it doesn't need the specific
pathnames coded into that call.

Once we find DIRECTX_INCLUDE_DIR, don't immediately insert it into
include_directories: we've had troubles with incompatible Windows SDK versions
(compile errors in Microsoft header files!) when DIRECTX_INCLUDE_DIR preceded
the Windows SDK directory in the include path.

The DIRECTX_FIND_QUIETLY logic seemed backwards: the message(STATUS) output was
emitted only when DIRECTX_FIND_QUIETLY was false. Reverse that.

The ancient cruft in find_path(dxguid.lib) was causing it to find the wrong
(very old) DirectX library. Remove ancient cruft. But empirically, without
that, even once we've found DIRECTX_INCLUDE_DIR, CMake could not implicitly
find dxguid.lib. If the DirectX directory hierarchy were structured as
.../version/Include and .../version/Lib, a relative pathname would have been
sufficient hint. Unfortunately it's structured as .../Include/version and
.../Lib/version, so a relative pathname would have to include the specific
version. Instead, replace "/Include/" with "/Lib/". But even then, we have to
drill down to the architecture-specific subdirectory based on ADDRESS_SIZE.
</content>
</entry>
<entry>
<title>remove execute permission from many files that should not have it</title>
<updated>2015-11-10T14:48:56Z</updated>
<author>
<name>Oz Linden</name>
<email>oz@lindenlab.com</email>
</author>
<published>2015-11-10T14:48:56Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=c8726aba303bcf1207b730a344536e25491420bc'/>
<id>urn:sha1:c8726aba303bcf1207b730a344536e25491420bc</id>
<content type='text'>
</content>
</entry>
<entry>
<title>merge changes for DRTVWR-294</title>
<updated>2013-04-19T14:11:29Z</updated>
<author>
<name>Oz Linden</name>
<email>oz@lindenlab.com</email>
</author>
<published>2013-04-19T14:11:29Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=ddd5659f815a39e9a8ef0e86c911fea75a7d8848'/>
<id>urn:sha1:ddd5659f815a39e9a8ef0e86c911fea75a7d8848</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Update Mac and Windows breakpad builds to latest</title>
<updated>2013-03-29T14:50:08Z</updated>
<author>
<name>Graham Madarasz</name>
<email>graham@lindenlab.com</email>
</author>
<published>2013-03-29T14:50:08Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=bf6182daa8b4d7cea79310547f71d7a3155e17b0'/>
<id>urn:sha1:bf6182daa8b4d7cea79310547f71d7a3155e17b0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Removing server-related cmake cruft.  Fixing libGLU warnings on linux.</title>
<updated>2012-10-04T03:12:48Z</updated>
<author>
<name>Don Kjer</name>
<email>don@lindenlab.com</email>
</author>
<published>2012-10-04T03:12:48Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=c9ab9590aa1d44ea139b16e7ffcb1461d928bdd5'/>
<id>urn:sha1:c9ab9590aa1d44ea139b16e7ffcb1461d928bdd5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Cherry-picked windows build fixes from sunshine-experimental</title>
<updated>2012-09-24T19:42:58Z</updated>
<author>
<name>Don Kjer</name>
<email>don@lindenlab.com</email>
</author>
<published>2012-09-24T19:42:58Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=95f3fb45ae2f4fe199e34f35be1e46b3a598ca1a'/>
<id>urn:sha1:95f3fb45ae2f4fe199e34f35be1e46b3a598ca1a</id>
<content type='text'>
</content>
</entry>
<entry>
<title>find latest DirectX dirs.</title>
<updated>2011-01-31T20:54:57Z</updated>
<author>
<name>Alain Linden</name>
<email>alain@lindenlab.com</email>
</author>
<published>2011-01-31T20:54:57Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=d9a0a04af4d48d8f1e8ef6e70d3d0863689071bd'/>
<id>urn:sha1:d9a0a04af4d48d8f1e8ef6e70d3d0863689071bd</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix to develop.py to build on 64 bit windows.</title>
<updated>2009-05-19T23:41:59Z</updated>
<author>
<name>Mark Palange</name>
<email>palange@lindenlab.com</email>
</author>
<published>2009-05-19T23:41:59Z</published>
<link rel='alternate' type='text/html' href='https://megapahit.org/viewer.git/commit/?id=8c5ca38f1d48edace2a67df00dc319381dc313af'/>
<id>urn:sha1:8c5ca38f1d48edace2a67df00dc319381dc313af</id>
<content type='text'>
Added March 2009 DirectX SDK to cmake config.
Reviewed by brad
</content>
</entry>
</feed>
