diff --git a/src/TKBRep/TKBRep_pch.hxx b/src/TKBRep/TKBRep_pch.hxx index 579a23c228..341ed29b7a 100644 --- a/src/TKBRep/TKBRep_pch.hxx +++ b/src/TKBRep/TKBRep_pch.hxx @@ -13,12 +13,7 @@ #include #include -#include -#include -#include #include #include -#include - #endif // TKBRep_HXX \ No newline at end of file diff --git a/src/TKService/CMakeLists.txt b/src/TKService/CMakeLists.txt index 2107f21b64..244d748b4a 100644 --- a/src/TKService/CMakeLists.txt +++ b/src/TKService/CMakeLists.txt @@ -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() diff --git a/src/TKService/TKService_pch.hxx b/src/TKService/TKService_pch.hxx deleted file mode 100644 index c5c7b16f67..0000000000 --- a/src/TKService/TKService_pch.hxx +++ /dev/null @@ -1,36 +0,0 @@ -#ifndef TKSERVICE_PCH_H -#define TKSERVICE_PCH_H - -// Windows-specific headers (for MSVC) -#ifdef _WIN32 - #ifndef NOMINMAX - #define NOMINMAX - #endif - #include // For Unicode/MBCS mappings - #include // For Windows API functions like WideCharToMultiByte - #ifdef GetObject - #undef GetObject - #endif -#endif - -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include - -#endif // TKSERVICE_PCH_H diff --git a/src/TKernel/TKernel_pch.hxx b/src/TKernel/TKernel_pch.hxx index 31ae1fedda..e748935356 100644 --- a/src/TKernel/TKernel_pch.hxx +++ b/src/TKernel/TKernel_pch.hxx @@ -3,13 +3,7 @@ // Standard library headers #include -#include -#include -#include -#include -#include #include -#include // Windows-specific headers (for MSVC) #ifdef _WIN32 @@ -37,12 +31,8 @@ #include #include -#include #include -#include -#include -#include #include #include #include