mirror of
https://github.com/reactos/reactos.git
synced 2024-08-27 13:48:42 +00:00
![Colin Finck](/assets/img/avatar_default.png)
This is no official system DLL and WineD3D is its only user. But latest WineD3D prefers the libtxc_dxtn codebase instead of the alternative library we used. This is also what Mesa uses and Fedora ships now that the patents have expired, so we should stick to the same. I'm importing the libtxc_dxtn-1.0.1 codebase from https://people.freedesktop.org/~cbrill/libtxc_dxtn/ It compiles warning-free in our tree without modifying a single line! I'm merging this Pull Request based on the positive response in CORE-12759. I lack a proper test case myself, but my version at least shouldn't make things worse. In my opinion, the previous one was broken anyway due to using stdcall imports when WineD3D called cdecl ones. This also removes the NSWPAT option from our buildsystem as dxtn was its latest user.
46 lines
1.3 KiB
CMake
46 lines
1.3 KiB
CMake
|
|
set(SARCH "omap3-zoom2" CACHE STRING
|
|
"Sub-architecture (board) to build for. Specify one of:
|
|
kurobox versatile omap3-zoom2 omap3-beagle")
|
|
|
|
set(OARCH "armv7-a" CACHE STRING
|
|
"Generate instructions for this CPU type. Specify one of:
|
|
armv5te armv7-a")
|
|
|
|
set (OPTIMIZE "1" CACHE STRING
|
|
"What level of optimization to use.
|
|
0 = off
|
|
1 = Default option, optimize for size (-Os) with some additional options
|
|
2 = Optimize for size (-Os)
|
|
3 = Optimize debugging experience (-Og)
|
|
4 = Optimize (-O1)
|
|
5 = Optimize even more (-O2)
|
|
6 = Optimize yet more (-O3)
|
|
7 = Disregard strict standards compliance (-Ofast)")
|
|
|
|
set(LTCG FALSE CACHE BOOL
|
|
"Whether to build with link-time code generation")
|
|
|
|
set(DBG TRUE CACHE BOOL
|
|
"Whether to compile for debugging.")
|
|
|
|
set(KDBG FALSE CACHE BOOL
|
|
"Whether to compile in the integrated kernel debugger.")
|
|
|
|
set(GDB FALSE CACHE BOOL
|
|
"Whether to compile for debugging with GDB.
|
|
If you don't use GDB, don't enable this.")
|
|
|
|
set(_WINKD_ TRUE CACHE BOOL
|
|
"Whether to compile with the KD protocol.")
|
|
|
|
set(_ELF_ FALSE CACHE BOOL
|
|
"Whether to compile support for ELF files.
|
|
Do not enable unless you know what you're doing.")
|
|
|
|
set(BUILD_MP TRUE CACHE BOOL
|
|
"Whether to compile the multi processor versions for ntoskrnl and hal.")
|
|
|
|
set(NEWSPRINTF FALSE CACHE BOOL
|
|
"Whether to compile the new sprintf.")
|