mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-06-02 09:46:43 +08:00
Foundation Classes - Extend precompiled headers (#1029)
- Added precompiled header file for TKBool toolkit with commonly used headers - Extended TKDESTEP precompiled headers with Interface_EntityIterator.hxx - Configured Google Test to use precompiled headers when BUILD_USE_PCH is enabled
This commit is contained in:
@@ -1,3 +1,6 @@
|
||||
project(TKBool)
|
||||
|
||||
OCCT_INCLUDE_CMAKE_FILE (adm/cmake/occt_toolkit)
|
||||
|
||||
# Add the precompiled header
|
||||
ADD_PRECOMPILED_HEADER(TKBool "TKBool_pch.hxx" FALSE)
|
||||
|
||||
@@ -2,4 +2,5 @@
|
||||
set(OCCT_TKBool_FILES_LOCATION "${CMAKE_CURRENT_LIST_DIR}")
|
||||
|
||||
set(OCCT_TKBool_FILES
|
||||
TKBool_pch.hxx
|
||||
)
|
||||
|
||||
21
src/ModelingAlgorithms/TKBool/TKBool_pch.hxx
Normal file
21
src/ModelingAlgorithms/TKBool/TKBool_pch.hxx
Normal file
@@ -0,0 +1,21 @@
|
||||
// Copyright (c) 2025 OPEN CASCADE SAS
|
||||
//
|
||||
// This file is part of Open CASCADE Technology software library.
|
||||
//
|
||||
// This library is free software; you can redistribute it and/or modify it under
|
||||
// the terms of the GNU Lesser General Public License version 2.1 as published
|
||||
// by the Free Software Foundation, with special exception defined in the file
|
||||
// OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
|
||||
// distribution for complete text of the license and disclaimer of any warranty.
|
||||
//
|
||||
// Alternatively, this file may be used under the terms of Open CASCADE
|
||||
// commercial license or contractual agreement.
|
||||
|
||||
#ifndef TKBOOL_PCH_H
|
||||
#define TKBOOL_PCH_H
|
||||
|
||||
#include <TopOpeBRepBuild_define.hxx>
|
||||
#include <TopOpeBRepDS_define.hxx>
|
||||
#include <TopOpeBRepTool_PROJECT.hxx>
|
||||
|
||||
#endif // TKBOOL_PCH_H
|
||||
Reference in New Issue
Block a user