Daniel Scharrer
d9e3f5e96f
CMake: Only use pkgconfig path for liblzma as a last resort
...
Otherwise this breaks multilib builds.
1 year ago
Daniel Scharrer
3d88822bbf
CMake: Fix build with old CMake versions
1 year ago
Daniel Scharrer
ee1a222f8a
CMake: Enable libc++ thread annotations
1 year ago
Daniel Scharrer
39968478fe
CMake: Enable -Wheader-hygiene
1 year ago
Daniel Scharrer
eaecc4d633
CMake: Enable more debug checks
1 year ago
Daniel Scharrer
c09da38f69
CMake: Use mold if available
1 year ago
Daniel Scharrer
3a4b94c757
CMake: Use LLD if available
1 year ago
Daniel Scharrer
6cff5b3b00
CMake: Use -flto=auto if available
1 year ago
Daniel Scharrer
cfad331471
CMake: Fix Boost static dependencies check
1 year ago
Daniel Scharrer
d551433e8d
cpplint: Fix compatibility with newer python versions
1 year ago
Daniel Scharrer
6303936185
cpplint: Fix check for space before opening condition parenthesis
1 year ago
Daniel Scharrer
d882871aa5
CMake: Update python dependency check for CMake 3.12+
1 year ago
Daniel Scharrer
6376c1ae30
Add a simple unit test framework
1 year ago
undef
4c2bc0bb42
fix some typos
3 years ago
Daniel Scharrer
83d0bf4365
cmake: Fix warning with newer cmake versions
4 years ago
Daniel Scharrer
4858132351
Update copyright years
6 years ago
Daniel Scharrer
95ef77eb89
CMake: Fix build with older CMake versions
6 years ago
Daniel Scharrer
ea7fff80f4
CMake: Don't strip linker flags
6 years ago
Daniel Scharrer
401ac25496
CMake: Update version file parser
6 years ago
Daniel Scharrer
b398a3f842
CMake: Remove automatic re-check of libraries
...
This relied on internal CMake variables and did not detected all
compiler and flag changes which could influence library search changes.
Users should clear the build directory when making such config changes.
7 years ago
Daniel Scharrer
b47f46102b
CMake: Remove library link checks
...
This was needed with older CMake versions to work around CMake searching
under lib with -m32 instead of under lib32 for platforms where lib
contains 64-bit binaries. This has since been fixed in CMake and users
of older CMake versions can add the lib32 directories to
CMAKE_LIBRARY_PATH to work around the issue on their end.
With newer CMake and Boost versions these checks fail because the
boost-config.cmake files shipped with Boost use imported targets instead
of library paths and try_compile does not add these imported targets to
the generated project.
See: https://gitlab.kitware.com/cmake/cmake/issues/11260
7 years ago
Daniel Scharrer
ce1c974411
CMake: Update compiler flags
7 years ago
Daniel Scharrer
3c9692268c
CompileCheck: Fix linker flags detection
7 years ago
Daniel Scharrer
641fc95f04
Update copyright years
7 years ago
Daniel Scharrer
45b649819b
CMake: Enable -Wshadow
7 years ago
Daniel Scharrer
b750691ca0
CMake: Update warning flags
7 years ago
Daniel Scharrer
9dcea02263
CMake: Update C++11+ enablement code
7 years ago
Daniel Scharrer
2654cc8510
CMake: Update compiler flags
7 years ago
Daniel Scharrer
33d6e1f551
CMake: Prefer static libraries even with NAMES_PER_DIR
...
This is required to find lib/libz.a if there is also a bin/zlib1.dll.
7 years ago
Daniel Scharrer
0c652b0128
CMake: Disable overzealous ICC warning
7 years ago
Daniel Scharrer
0c83a0d25b
Update copyright years
8 years ago
Daniel Scharrer
322e625aca
CMake: Allow disabling C++17/14 while keeping C++11 enabled
8 years ago
Daniel Scharrer
d146fa04dd
CMake: Add DEBUG to user-visible configuration variables
8 years ago
Daniel Scharrer
70c95a13b1
cpplint: Increase line length limit
8 years ago
Daniel Scharrer
1674cc445f
CMake: Update code style config
8 years ago
Daniel Scharrer
51e034f936
CMake: Enable C++17 mode
8 years ago
Daniel Scharrer
a58edfd40e
CXX11Check: Move test files into a subdirectory
9 years ago
Daniel Scharrer
f97330b63c
CXX11Check: Enable C++14 mode in newer MSVC versions
9 years ago
Daniel Scharrer
14d720d938
CXX11Check: Ignore warnings for feature checks
9 years ago
Daniel Scharrer
b029f025f7
CompileCheck: Ignore warnings for builtin checks
9 years ago
Daniel Scharrer
180e055c10
CompileCheck: Create uniquely-named builtin test files
9 years ago
Daniel Scharrer
342f0f238a
CompileCheck: Add comment
9 years ago
Daniel Scharrer
0fa8498256
CompileCheck: Fix check_flag for MSVC
9 years ago
Daniel Scharrer
9bd97a41f6
CMake: Use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR
9 years ago
Daniel Scharrer
b6921fd277
CMake: Use PROJECT_BINARY_DIR instead of CMAKE_BINARY_DIR
9 years ago
Gabriel Huber
9cbd68fc71
Fix building in paths that contain regex expressions
...
Resolves #55
9 years ago
Daniel Scharrer
6acf806782
Update copyright years
10 years ago
Daniel Scharrer
032ae46fd9
FilterList.cmake: Use implicit variable expansion in if()
10 years ago
Daniel Scharrer
b3ca90e529
Fix build with CMake < 3.0
10 years ago
Daniel Scharrer
d243834402
VersionString.cmake: Use implicit variable expansion in if()
10 years ago