Chris Hennes
766a0eb835
Tests: Add tests for timestamp-based backups
2025-08-04 17:51:15 +02:00
Jacob Oursland
9b8efeefed
CMake: use job pools to restrict number of concurrent compilers and linkers.
...
When using Ninja build system, CMake can specify job pools for number of concurrent compilers
and concurrent linkers. This PR employes the heuristic of max number of compilers as available
physical ram / 1 GiB and a single linker instance to prevent using excessive RAM. Modern
linkers are multithreaded and should not be run concurrently due to risk of resource exhaustion.
2025-04-15 13:04:22 +02:00
Joao Matos
ed27ab85de
CMake: Add GCC/Clang -fdiagnostics=color compiler option.
2025-03-03 18:13:39 +01:00
Chris Hennes
54997b4486
CMake: Remove support for old CMake versions
2025-02-22 20:48:44 -06:00
Chris Hennes
0f4da7a529
CMake: Expand note about BOOST_PP_VARIADICS=1
2025-02-22 20:48:43 -06:00
Chris Hennes
b09e1436cf
CMake: Update compiler and standard mins
2025-02-22 20:48:43 -06:00
Andrea
146d8a356b
change MIN_boost_version
...
ubuntu version 20.04 is no longer supported.
The minimum boost version used for freecad is now 1.74 (ubuntu 22.04) https://launchpad.net/ubuntu/jammy/+package/libboost-system-dev
2025-02-15 13:33:32 -06:00
tritao
9d53b7190a
CMake: Provide build flag to enable compile time tracing.
2025-01-29 06:50:37 -06:00
tritao
91570a74c6
CMake: Provide build flag to enable libc++ standard library.
2025-01-29 06:50:37 -06:00
mosfet80
1088ecaf09
fix CXX standard selection
...
only CXX 23, 20 and 17 standards are allowed
2024-09-11 21:08:44 +02:00
Chris Hennes
de907a08e3
cMake: Add option to use C++23
2024-09-02 18:03:33 +02:00
0penBrain
1483838c19
Make: use single dash argument for Apple toolchain
2024-05-01 14:04:45 -04:00
0penBrain
a8cdbe4672
Cmake: pass 'undefined' with double dash so alternative linker can be used
2024-04-29 18:25:17 +02:00
mosfet80
b102c5968f
Clean CompilerChecksAndSetups.cmake
...
CMAKE_CXX_COMPILER_VERSION are always greater than 3.9
2024-02-12 12:05:11 -06:00
Pesc0
0cd35f733b
Cleanup root directory
2023-02-18 16:09:56 -06:00
berniev
652e8015a9
Remove redundant reference to C++14
2022-09-28 17:03:54 +02:00
wmayer
c7123c48f0
CMake: fix compiler warnings about macro redefinition
2022-09-27 08:17:31 +02:00
wmayer
220982748d
CMske: move define 'BOOST_NO_CXX98_FUNCTION_BASE' to CompilerChecksAndSetups macro and support CMake < 3.12
2022-09-25 12:18:05 +02:00
andrea
fd714a20b7
remove unused CXX standards. change boost min version to 1.65
...
reintroduce c++14
2022-08-14 18:11:14 +02:00
Chris Hennes
c237fae4aa
Drop build-system support for Qt4 and Python 2
...
Also increase minimum CMake, GCC, and Clang versions to match
Ubuntu 18.04 LTS. This sets our minimum supported version of the C++
standard to C++17.
2021-03-06 21:10:44 +01:00
wmayer
409ceb6ec5
macOS: [skip ci] suppress some more Py3.8 warnings, suppress warnings about deprecated OpenGL API
2020-10-17 23:53:47 +02:00
Priit Laes
5f92194a8c
build: Bump boost requirement to 1.55 and drop bundled boost::any
...
Based on the information from bunch of the latest supported distros:
Debian Jessie: 1.55
Debian Stretch: 1.62
Ubuntu 16.04: 1.58
Ubuntu 18.04: 1.65
Fedora 31 and 32: 1.69
Redhat Enterprise Linux 8: 1.66 (1.53 for EL-7, though)
openSuse Leap 15.1: 1.66
2020-10-13 12:56:28 +02:00
wmayer
bb8ca24904
CMake: make sure that C++14, C++17 or C++20 can also be set for MSVC
2020-07-14 10:28:00 +02:00
wmayer
3d1aae95b7
CMake: [skip ci] add some links
2020-05-25 16:59:05 +02:00
wmayer
cc6115920f
set -Wpedantic for clang
2019-11-17 19:39:01 +01:00
ezzieyguywuf
aa7419b203
Move logic out of CMakeLists.txt
...
This is an initial pass, simply moving the existing logic as-is. Future
PR's will attempt to refactor and improve the cmake stuff.
2019-09-26 18:54:45 +02:00