Skip to content

Commit

Permalink
Coding - Remove unused precompiled headers from TKBRep and TKService,…
Browse files Browse the repository at this point in the history
… and clean up includes in TKernel
  • Loading branch information
dpasukhi committed Nov 16, 2024
1 parent aebc8f3 commit 2cb12fb
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 53 deletions.
5 changes: 0 additions & 5 deletions src/TKBRep/TKBRep_pch.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,7 @@
#include <TopoDS_Vertex.hxx>
#include <TopoDS_Wire.hxx>

#include <BRepAdaptor_Curve.hxx>
#include <BRepAdaptor_Surface.hxx>
#include <BRepTools_History.hxx>
#include <BRep_Builder.hxx>
#include <BRep_Tool.hxx>

#include <BRepTools.hxx>

#endif // TKBRep_HXX
2 changes: 0 additions & 2 deletions src/TKService/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,4 @@ OCCT_INCLUDE_CMAKE_FILE (adm/cmake/occt_toolkit)

if (APPLE AND BUILD_USE_PCH)
set_target_properties(TKService PROPERTIES DISABLE_PRECOMPILE_HEADERS ON)
else()
ADD_PRECOMPILED_HEADER(TKService "${CMAKE_CURRENT_SOURCE_DIR}/TKService_pch.hxx")
endif()
36 changes: 0 additions & 36 deletions src/TKService/TKService_pch.hxx

This file was deleted.

10 changes: 0 additions & 10 deletions src/TKernel/TKernel_pch.hxx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,7 @@

// Standard library headers
#include <atomic>
#include <iostream>
#include <limits>
#include <ostream>
#include <sstream>
#include <string>
#include <type_traits>
#include <vector>

// Windows-specific headers (for MSVC)
#ifdef _WIN32
Expand Down Expand Up @@ -37,12 +31,8 @@

#include <Quantity_Color.hxx>
#include <Quantity_ColorRGBA.hxx>
#include <Quantity_HArray1OfColor.hxx>
#include <Quantity_TypeOfColor.hxx>

#include <TColStd_HArray1OfInteger.hxx>
#include <TColStd_HSequenceOfHAsciiString.hxx>
#include <TColStd_HSequenceOfTransient.hxx>
#include <TCollection_AsciiString.hxx>
#include <TCollection_ExtendedString.hxx>
#include <TCollection_HAsciiString.hxx>
Expand Down

0 comments on commit 2cb12fb

Please sign in to comment.