Commit Graph

13 Commits

Author SHA1 Message Date
Markus Reitböck
63ab3de853 TechDraw: 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-23 00:50:59 +02:00
Benjamin Nauck
6f535f19fb Prefer to use BaseClass's isDerivedFrom<T> over non template or Base::Type's
Regex based changes, manually verified
2025-01-27 16:08:18 +01:00
PaddleStroke
ddd35aeefa Fix typo introduced by solving conflict. 2024-04-22 17:16:50 +02:00
PaddleStroke
2b0403dc27 TechDraw: Insert tool insert DrawViewProjGroupItem that can then be transfered into groups and back. 2024-04-22 15:53:14 +02:00
PaddleStroke
60290a2a34 TechDraw: Fix child of linked view. 2024-04-18 12:14:10 -04:00
PaddleStroke
ffb34ebe54 TechDraw: Fix child not moving when drag and dropping a view between pages. 2024-04-18 12:14:10 -04:00
PaddleStroke
4d84efb061 TechDraw: Enable App::Links to work with TechDraw views. 2024-04-18 12:14:10 -04:00
ppphp
041ed30055 fix: some unuse argument warning 2024-03-31 10:47:32 +02:00
PaddleStroke
5940125359 TechDraw: Enable dragging and dropping of views between pages. 2024-03-25 13:17:46 -04:00
Uwe
c947055821 [TD] remove unused headers (#8155)
* [TD] remove unused headers

- also some sorting
- also improve readability by not using an abbreviation (we consistently don't abbreviate class names)
2023-01-09 14:55:22 +01:00
Uwe
2f2480df7b [TD] final fix of compilation after #8141
- in DimensionValidators.h the declarations must not be with TechDrawExport
- add missing precompiled headers

- also fix too long lines (fixed by clang)
- also some re-sorting
- also remove unused headers
2023-01-09 12:48:15 +01:00
wandererfan
3bae9ab611 [TD]fix Win link error in ViewProvider extensions 2023-01-02 13:49:50 -05:00
wandererfan
ff1147fbae [TD]add extensions for drag and drop 2022-12-27 19:43:44 -05:00