Markus Reitböck
c003f7915b
fix duplicate include guards in precompiled headers
2025-09-23 00:51:00 +02:00
Markus Reitböck
fa2089d877
Web: use CMake to generate precompiled headers on all platforms
...
"Professional CMake" book suggest the following:
"Targets should build successfully with or without compiler support for precompiled headers. It
should be considered an optimization, not a requirement. In particular, do not explicitly include a
precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
generated precompile header on the compiler command line instead. This is more portable across
the major compilers and is likely to be easier to maintain. It will also avoid warnings being
generated from certain code checking tools like iwyu (include what you use)."
Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-22 23:17:40 +02:00
wmayer
ac51455a0a
CMake: Replace include_directories with target_include_directories
2025-09-08 19:04:34 +02:00
bofdahof
ba2c2ca5ad
Console: rename PascalCase named methods to camelCase
2025-05-06 17:50:21 +02:00
Benjamin Nauck
877cfbd9bb
Web: Add #include <limits> where used
2025-03-31 23:53:10 +02:00
Benjamin Nauck
b1fa55eb78
Web: Use std::numeric_limits and std::numbers instead of defines
2025-03-29 13:32:39 +01:00
tritao
cdab9c7837
CMake: Cleanup targets with transitive dependencies
2025-03-17 12:12:06 +00:00
Benjamin Bræstrup Sayoc
ee1c73cd04
Build: suppress warnings from 3rd party libraries
...
Warnings from 3rd parties are not relevant and are only polluting the warning output. Marking these libraries as SYSTEM suppresses warning.
https://gcc.gnu.org/onlinedocs/cpp/Invocation.html#index-I
https://gcc.gnu.org/onlinedocs/cpp/System-Headers.html
2025-02-25 14:39:05 +00:00
Joao Matos
15076cb504
Core: Move PyCXX library to src/3rdParty.
2025-02-24 16:36:06 +00:00
Joao Matos
aace8f7bee
CMake: Modernize build files using outdated Python variables.
2025-02-16 10:21:26 -06:00
wmayer
560cab6f31
clang/gcc: Add build option FREECAD_WARN_ERROR to force to make warnings into errors
2024-05-29 13:37:07 +02:00
pre-commit-ci[bot]
e92ed45df9
[pre-commit.ci] auto fixes from pre-commit.com hooks
...
for more information, see https://pre-commit.ci
2023-09-12 13:02:35 -04:00
wmayer
0e04d526ec
Web: apply clang format
2023-09-03 17:22:44 +02:00
wmayer
142b86fde2
Mod: modernize C++: use equals default
2023-08-21 20:21:30 +02:00
wmayer
be9f68f46f
Web: move to new style connect()
2023-01-13 15:14:29 +01:00
Uwe
cfe33d7145
[Web] App: enable precompiled headers
...
- also remove a unused header
2022-12-14 04:28:21 +01:00
Uwe
e64a2ce675
[Web] remove unused includes
...
- also some sorting
2022-12-07 05:24:20 +01:00
Chris Hennes
1fac3fead0
cMake: Add support for compiling against Qt6 ( #7647 )
...
Removes the BUILD_QT5 flag and adds a new FREECAD_QT_VERSION option,
which can be set to either "Auto" (default), 5, or 6. Auto detects which
version of Qt is installed on the system and chooses it. If both version
are installed, Qt5 is used.
Note that this DOES NOT implement compiling against Qt6, it only adds
the necessary cMake infrastructure to begin work on the source code
changes that will be required.
2022-10-31 09:24:09 -05:00
marioalexis
d50449b521
Web: Replace C cast
2022-09-18 11:06:51 -05:00
berniev
180edfa3cc
Mod: Single arg ctors must be explicit
2022-08-24 16:55:20 +02:00
berniev
71dc5ead2f
Mod: Use override etc 2
2022-08-09 12:52:26 +02:00
wmayer
eb29be99c2
Web: include header with export macros
2022-03-24 20:40:59 +01:00
wmayer
49cab1328e
Web: modernize C++11
...
* use nullptr
2022-03-23 19:26:14 +01:00
Uwe
b8d5f77da3
[Web] remove unused headers and Xerces
2022-03-20 21:16:27 +01:00
wmayer
0f9768fb33
Fix coverity issue:
...
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
539bd3ceb1
Web: handle system exit exceptions
2021-10-14 15:46:37 +02:00
wmayer
cea1216ea2
Web: support synchronous TCP/IP communication
2021-10-14 15:07:05 +02:00
wmayer
d310013cd0
Web: support to query values via TCP/IP communication
2021-09-25 19:52:14 +02:00
Mateusz Skowroński
9ade68e9bf
Fix CMake warning: qt5_make_output_file is not part of the official API, and might be removed in Qt 6.
2021-04-19 15:10:53 +02:00
Chris Hennes
8e6c5946cd
[Web] Remove deprecated Qt < 5.9 code
2021-04-02 13:46:43 +02:00
luz paz
bd3fdd288e
Web: Fix header uniformity, whitespace, doxygen headers
2020-11-18 08:58:38 +01:00
wmayer
e0de107817
Web: [skip ci] implement blocking tcp server
2020-05-20 16:52:36 +02:00
wmayer
3c4791b51b
CMP0050: make Web module aware of cmake policy
2018-08-20 13:51:40 +02:00
wmayer
7ba2217617
py3: ported module init to python3
2017-02-04 15:56:31 +01:00
wmayer
8da9d86b0b
port use of tcp server to Qt5
2016-12-23 10:38:27 +01:00
wmayer
743b83e853
Add switch to select between Qt4 and Qt5
2016-12-13 15:53:13 +01:00
wmayer
6cfaf916f8
remove superfluous Qt includes
2016-12-13 15:40:49 +01:00
wmayer
0c8d48c5bb
fix -Wextra in Web
2016-09-23 21:19:53 +02:00
wmayer
bed76edb48
fix Coverity issues
2016-08-20 17:21:01 +02:00
wmayer
3aa28ca905
+ simplify porting of Web module to Python3
2016-01-17 19:17:34 +01:00
wmayer
9bcc4938c4
+ allow to clear installed firewall
2015-12-13 14:36:41 +01:00
wmayer
e1681ec712
Report 'None' for successfully executed commands in server, implement a simple firewall to block commands
2015-12-13 14:24:15 +01:00
wmayer
c2c83a353b
+ harmonize XercesC cmake variables with official check
2015-07-28 14:17:49 +02:00
wmayer
d2b7b730d3
+ replace deprecated PYTHON_INCLUDE_PATH
2015-07-25 18:29:42 +02:00
wmayer
ee4a767f13
+ simplify dependencies in CMakeLists.txt files
2015-07-17 12:18:44 +02:00
wmayer
c9fda649ea
+ eliminate cmake variable QT_DEBUG_LIBRARIES
2015-07-16 19:06:20 +02:00
wmayer
6ac93e9d72
Add initial support for different libdir (jobermayr)
2014-05-10 12:57:38 +02:00
mdinger
1498e99cef
Move python module prefix and suffix properties into macro to be set together
2014-05-03 16:00:30 +02:00
wmayer
67edfb895b
+ Fix prefix of Python extensions built with MinGW
2014-04-30 18:22:52 +02:00
mdinger
e2bd648e9a
Remove unnecessary quotes.
2014-04-30 13:41:16 +02:00