Commit Graph

63 Commits

Author SHA1 Message Date
Ferry Huberts
40f5b11194 Fix compiler warnings (-Wunused-variable)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-07 11:14:57 +02:00
Ferry Huberts
8ff0b0f948 Fix compiler warnings (-Wold-style-cast)
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-07 11:14:19 +02:00
Ferry Huberts
1ab56bc771 Try to fix the Windows build
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-06 10:03:28 +02:00
Ferry Huberts
a52d1500fe More hardening compiler flags
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-05 15:58:11 +02:00
Ferry Huberts
579e9f3319 Add some more possible compiler flags
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-05 15:58:05 +02:00
Ferry Huberts
c50959f6e6 Move compiler flags into a separate cmake file
Signed-off-by: Ferry Huberts <ferry.huberts@pelagic.nl>
2023-08-05 11:43:20 +02:00
Steffen Olszewski
8cd6dd7c37 Filter file extensions without including the path prefix
Since the file lists contain only valid paths, it is sufficient to anchor
the regular expression at the end only instead of matching the full path.
This prevents regular expression injections.
2023-05-23 19:09:32 +02:00
Steffen Olszewski
7467f14193 Create file lists without using regular expression
Using the path prefix as part of a regular expression can lead to a
regular expression injection, the path might contain regular expression
meta characters that get interpreted. Use cmake_path() instead to filter
path prefixes.
2023-05-23 19:07:18 +02:00
Steffen Olszewski
ff36530506 Add utility function to add source groups for files of a target
This function uses default groups like Visual Studio and additional groups
for files commonly used by CMake builds.

This increases the required CMake version to 3.20.
2023-05-10 21:49:38 +02:00
Julian Ste
72e7fa973e
Update module-install.cmake 2021-11-26 09:38:47 +01:00
Sébastien Gallou
47b34ef74c Make MSVC runtime setting available for all projects 2021-06-11 09:55:01 +02:00
lganzzzo
c85dae66ac update installation scripts 2019-01-28 18:16:07 +02:00
lganzzzo
cc90da292c better cmake scripts 2019-01-25 16:38:19 +02:00