summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
AgeCommit message (Collapse)AuthorFilesLines
2017-03-21CMakeList: do not overwrite module pathYann E. MORIN1-1/+1
Currently, the CMakeList.txt completely overwrites the CMAKE_MODULE_PATH variable. This is problematic when an upper-layer buildsystem wants to set its own module path to use custom modules. For example, Buldroot [0] provides a custom platform description [1] to fix cross-compilation issue. Overwriting the module path means that this custom platform description is not found: System is unknown to cmake, create: Platform/Buildroot to use this system, please send your config file to cmake@www.cmake.org so it can be added to cmake Providing such a custom platform description is what the upstream cmake devs suggest [2], quoting: If a toolchain file specifies CMAKE_SYSTEM_NAME such that a custom `Platform/MySystem.cmake` file is loaded then the latter can set them [*] as needed for the target platform. [*] offending settings causing RPATH issues during cross-compilation. So we need to append to the module path, rather than replace it blindly. [0] https://buildroot.org/ [1] https://git.buildroot.org/buildroot/tree/support/misc/Buildroot.cmake [2] http://public.kitware.com/pipermail/cmake/2017-February/065063.html Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
2017-03-20Remove Windows XP support.Jose Fonseca1-16/+3
I'm not aware of people using it, so I believe it's not worth the hassle as I'm trying to cut maintenance burden down.
2017-01-29cmake: Let CMAKE_OSX_DEPLOYMENT_TARGET take its default value.Jose Fonseca1-1/+0
Should fix #505.
2017-01-24cmake: Require Xcode 8.x; remove long build warning.Jose Fonseca1-9/+7
Fixes https://github.com/apitrace/apitrace/issues/346 Fixes https://github.com/apitrace/apitrace/issues/503
2017-01-24cmake: Target macos 10.11 and up; stop building 32bits executables.Jose Fonseca1-5/+5
2017-01-12cmake: Use bundled libpng on macOS.Jose Fonseca1-1/+1
cmake often picks up libpng from /usr/local which does not not include i386 architecture.
2016-12-09cmake: Use more than 2GB for 32 bits Windows processes where available.Jose Fonseca1-1/+11
2016-09-05mhook: Initial import.Jose Fonseca1-0/+1
2016-07-26cmake: Require MSVC 2015.Jose Fonseca1-10/+4
2016-05-10cmake: Require GCC 4.9.Jose Fonseca1-1/+1
It was been effectively required for a while, but CMake was only warning if requirement not met.
2016-05-05crc32c: Initial import.José Fonseca1-0/+2
Based on code from http://create.stephan-brumme.com/crc32/ . But tables based on http://sourceforge.net/projects/slicing-by-8/ , to match SSE42 CRC32 instruction.
2016-05-05trace: Move the rest of common to lib/trace.Jose Fonseca1-2/+1
Renaming the library to something else is left to another change, as there's already a trace lib in the wrappers dir.
2016-05-05os: Move to lib.Jose Fonseca1-0/+1
2016-05-05image: Move into lib.Jose Fonseca1-1/+0
2016-05-05Create a top level lib directory, and move guids into it.Jose Fonseca1-1/+1
2016-04-16cmake: Add option to build with Address Sanitizer.Jose Fonseca1-11/+6
Also remove SSP: it was only being used in Debug builds, and it never found a bug.
2016-04-13cmake: Allow customization of the doc installation dir.Jose Fonseca1-2/+6
Sample usage: cmake -DDOC_INSTALL_DIR=doc/apitrace-x.y.z ... Fixes https://github.com/apitrace/apitrace/issues/411
2016-04-10cmake: Fix WINVER for XP.Jose Fonseca1-9/+18
It was to be bumped including DirectComposition headers on MinGW, but it shouldn't have been commited. Instead introduce a WINDOWS_XP option to build XP binaries with MinGW.
2016-04-08docs,cmake: Update build instructions for MSVC 2015.Jose Fonseca1-2/+10
MSVC 2013 is still supported. But I hope to make MSVC 2015 a requirement in the near future.
2016-03-29cmake: Always build compression libraries with release flags.Jose Fonseca1-0/+10
We don't care about debugging them, and it can make a significant performance difference.
2016-03-29brotli: Bundle brotli.Jose Fonseca1-0/+2
From 3a77ebe1.
2016-03-21gui: Use QTextBrowser instead of QWebView.Jose Fonseca1-2/+2
QWebView was deprecated in Qt 5.5 and removed in Qt 5.6. QTextBrowser seems sufficient for our needs and avoids the hassle of making the code compatible both with QWebView and QWebEngineView.
2016-03-05dxgitrace: Complete DirectComposition specs.Jose Fonseca1-2/+2
This addresses https://github.com/apitrace/apitrace/issues/377 , but even with complete DirectComposition specs, one will stumble into attempts to use undocumented IID_ID3D11PartnerDevice interface.
2016-03-05cmake: Fix MinGW build with Clang.Jose Fonseca1-8/+12
2016-02-25compat: Create a new top-level directory for compatibility headers.Jose Fonseca1-0/+3
2016-01-27libbacktrace: Always build and run btest.Jose Fonseca1-11/+11
2016-01-27cmake: Package all scripts.Jose Fonseca1-25/+1
Using a glob might fail to detect a new script, if there was no CMakeLists.txt change. However it seems less likely than me forgetting to manually add the scripts to the CMakeLists.txt. https://github.com/apitrace/apitrace/issues/416#issuecomment-174886761
2015-12-03cmake: Re-disable C++ exceptions.Jose Fonseca1-1/+1
It was enabled by accident.
2015-11-25cmake: Recommend GCC verion 4.9.Jose Fonseca1-0/+6
I plan to make more use of C++11 features. There are backports of GCC 4.9 for most Linux distributions, as documented on https://github.com/apitrace/apitrace/wiki/GCC , so no point in dealing with the missing C++11 features from ealier GCC C++ / libstdc++ versions.
2015-11-25cmake: Remove Clang compiler override on Apple.Jose Fonseca1-8/+0
No longer necessary given that for a long time now that GCC hasn't been included in Xcode.
2015-11-20cmake: Add option to statically link more dependencies into executables.Jose Fonseca1-3/+6
2015-11-10cmake: Recognize AppleClang compiler id too.Jose Fonseca1-1/+1
2015-10-27cmake: Simplify SSE2 enablement logic.Jose Fonseca1-17/+9
Now that we force the enablement of SSE2 on Windows there's less things we need to check.
2015-10-27cmake: Only enable SSE2 on 32 bits Windows.Jose Fonseca1-1/+1
I thought that non-SSE2 capable machines were no longer used in practice, but apparently not. We assume SSE2 is available on 32 bits Windows, as that's what MSVC does, but there's no major reason to force using SSE2 on 32 bits x86 Linux builds, so disable it. Fixes #394
2015-09-14cmake: Require Waffle when ENABLE_WAFFLE is set.Jose Fonseca1-6/+3
2015-09-14cmake: Fix Waffle detection, by using pkg-config on non-Android.Emmanuel Gil Peyrot1-0/+3
2015-09-01cmake: Output a message when using bundled dependencies.Jose Fonseca1-0/+3
2015-08-27cmake: Fix check target on single-configuration builds.Jose Fonseca1-0/+4
2015-08-27cmake: Fix check target with msbuild.Jose Fonseca1-1/+1
2015-08-27cmake: Output test result on failure.Jose Fonseca1-1/+1
2015-08-14common: Replace std::regex with RE2C state machines.Jose Fonseca1-6/+0
To avoid GCC 4.9 dependency. Fixes #370.
2015-08-14cmake: Skip check when cross-compiling.Jose Fonseca1-1/+5
2015-08-14cmake: Add a convenience macro for gtest based unit tests.Jose Fonseca1-0/+8
2015-08-13cmake: Require GCC 4.9.Jose Fonseca1-0/+6
2015-08-13common: Replace GUIDs with their symbolic name when dumping.Jose Fonseca1-48/+1
2015-08-13guids: Library to looking up GUIDs names.Jose Fonseca1-0/+2
2015-08-12specs: Support D3D11.3.Jose Fonseca1-0/+5
2015-08-10cmake: Use Windows 10 SDK.Jose Fonseca1-4/+8
In preparation for D3D11.3 support.
2015-08-06cmake: Require -std=gnu++11.Jose Fonseca1-8/+0
Which is the same as requiring GCC 4.7.
2015-08-06cmake: Require gcc-4.7.Jose Fonseca1-2/+2
For C++11 non-static data member initializer support.