Commit Graph

24 Commits

Author SHA1 Message Date
Joao Matos
855ad6c709 CMake: Add GCC/Clang -fdiagnostics=color compiler option. 2025-03-03 18:13:39 +01:00
Chris Hennes
2064703154 CMake: Remove support for old CMake versions 2025-02-22 20:48:44 -06:00
Chris Hennes
e25efd4fb9 CMake: Expand note about BOOST_PP_VARIADICS=1 2025-02-22 20:48:43 -06:00
Chris Hennes
87ce62f8ac CMake: Update compiler and standard mins 2025-02-22 20:48:43 -06:00
Andrea
de9bd5e1ce 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
1e05c59ce8 CMake: Provide build flag to enable compile time tracing. 2025-01-29 06:50:37 -06:00
tritao
ade3ae02ff CMake: Provide build flag to enable libc++ standard library. 2025-01-29 06:50:37 -06:00
mosfet80
95c42d0be3 fix CXX standard selection
only   CXX 23, 20 and 17 standards are allowed
2024-09-11 21:08:44 +02:00
Chris Hennes
29d05e9613 cMake: Add option to use C++23 2024-09-02 18:03:33 +02:00
0penBrain
502f78e111 Make: use single dash argument for Apple toolchain 2024-05-01 14:04:45 -04:00
0penBrain
7b85e8fc48 Cmake: pass 'undefined' with double dash so alternative linker can be used 2024-04-29 18:25:17 +02:00
mosfet80
b546b17342 Clean CompilerChecksAndSetups.cmake
CMAKE_CXX_COMPILER_VERSION are always greater than  3.9
2024-02-12 12:05:11 -06:00
Pesc0
9d7c8b1326 Cleanup root directory 2023-02-18 16:09:56 -06:00
berniev
448ce085f4 Remove redundant reference to C++14 2022-09-28 17:03:54 +02:00
wmayer
c1e7057dbb CMake: fix compiler warnings about macro redefinition 2022-09-27 08:17:31 +02:00
wmayer
608fb15d40 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
10a78d91af remove unused CXX standards. change boost min version to 1.65
reintroduce c++14
2022-08-14 18:11:14 +02:00
Chris Hennes
13b9127eee 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
01af171a31 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
06d87e4003 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
85a6df1d4d 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
8e7bf3eb28 CMake: [skip ci] add some links 2020-05-25 16:59:05 +02:00
wmayer
c0a80e1a9a set -Wpedantic for clang 2019-11-17 19:39:01 +01:00
ezzieyguywuf
63c45d3ba4 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