Camilla Löwy
b850107a32
Update minimum CMake version to 3.16
...
This replaces some workarounds and manual logic with new features
available with CMake 3.16, including list(FILTER), list(JOIN),
foreach(IN LISTS) and enable_language(OBJC). Policy settings no longer
needed with 3.16 have been removed.
Related to #2541
2024-11-27 16:25:07 +01:00
Camilla Löwy
8c8def5de5
Start making use of CMake 3.4 string(APPEND)
2021-08-26 16:03:58 +02:00
Camilla Löwy
7c25dff002
Remove truism from end of gamepad mapping regexp
...
The rest of the line is guaranteed to either contain or not contain
characters.
2021-08-26 16:03:58 +02:00
Camilla Löwy
daed5edd6e
Simplify CMake if-statement variable references
...
Variables in CMake if-statements (and only in if-statements) do not need
to be explicitly dereferenced; a thing I did not always know.
2021-08-26 16:03:58 +02:00
Camilla Löwy
0c90e1a33f
Add gamepad mapping filtering by backend
...
This fixes gamepad mappings being included in GLFW binaries that would
then never use them because they were for a different platform.
2021-08-01 20:17:21 +02:00
Camilla Löwy
f4cd470bcb
Move to modern mappings database with modifiers
2018-02-13 18:57:56 +01:00
Camilla Löwy
3169179de1
Fix string literal exceeding max length
...
Fixes #1145 .
2017-11-23 20:54:44 +01:00
Camilla Löwy
fe9c7a01c5
Update gamepad mappings and source URL
...
This matches the recent upstream update.
2017-11-23 19:35:45 +01:00
Camilla Löwy
16ae02ab85
Add CMake target for updating gamepad mappings
...
This adds the 'mappings' build target that downloads the upstream
gamecontrollerdb.txt file and regenerates the mappings.h header.
Related to #900 .
2017-09-15 15:50:39 +02:00