Skip to content

Commit 245ff14

Browse files
committed
Added scl_memmgr to clstepcore library.
1 parent 010e02b commit 245ff14

24 files changed

Lines changed: 26 additions & 3 deletions

src/clstepcore/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ endif()
4949

5050
if(MSVC OR BORLAND)
5151
add_definitions( -DSCL_CORE_DLL_EXPORTS )
52+
add_definitions( -DSCL_BASE_DLL_IMPORTS )
5253
add_definitions( -DSCL_EXPRESS_DLL_IMPORTS )
5354
add_definitions( -DSCL_UTILS_DLL_IMPORTS )
5455
add_definitions( -DSCL_DAI_DLL_IMPORTS )
@@ -78,12 +79,13 @@ SET(LIBSTEPCORE_PRIVATE_HDRS
7879

7980
include_directories(
8081
${CMAKE_CURRENT_SOURCE_DIR}
82+
${SCL_SOURCE_DIR}/src/base
8183
${SCL_SOURCE_DIR}/src/cldai
8284
${SCL_SOURCE_DIR}/src/cleditor
8385
${SCL_SOURCE_DIR}/src/clutils
8486
)
8587

86-
SCL_ADDLIB(stepcore "${LIBSTEPCORE_SRCS} ${LIBDEPEND_SRCS}" "express steputils stepdai")
88+
SCL_ADDLIB(stepcore "${LIBSTEPCORE_SRCS} ${LIBDEPEND_SRCS}" "express steputils stepdai base")
8789
if(APPLE)
8890
if(SCL_BUILD_SHARED_LIBS)
8991
set_target_properties(stepcore PROPERTIES LINK_FLAGS "-flat_namespace -undefined suppress")

src/clstepcore/ExpDict.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818

1919
#include <ExpDict.h>
2020
#include <STEPaggregate.h>
21+
#include "scl_memmgr.h"
2122

2223

2324
Explicit_item_id__set::Explicit_item_id__set( int defaultSize ) {

src/clstepcore/ExpDict.inline.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
*/
1212

1313
#include <ExpDict.h>
14+
#include "scl_memmgr.h"
1415

1516
Dictionary_instance::~Dictionary_instance() {
1617
}

src/clstepcore/Registry.inline.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111

1212
#include <ExpDict.h>
1313
#include <Registry.h>
14+
#include "scl_memmgr.h"
1415

1516
const TypeDescriptor * t_sdaiINTEGER;
1617
const TypeDescriptor * t_sdaiREAL;

src/clstepcore/STEPaggregate.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
#include <STEPattribute.h>
1818
#include <instmgr.h>
1919
#include <ExpDict.h>
20+
#include "scl_memmgr.h"
2021

2122
const int Real_Num_Precision = REAL_NUM_PRECISION; // from STEPattribute.h
2223

src/clstepcore/STEPattribute.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#include <STEPaggregate.h>
1717
#include <ExpDict.h>
1818
#include <sdai.h>
19-
19+
#include "scl_memmgr.h"
2020

2121
// REAL_NUM_PRECISION is defined in STEPattribute.h, and is also used
2222
// in aggregate real handling (STEPaggregate.cc) -- IMS 6 Jun 95

src/clstepcore/STEPattribute.inline.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#include <STEPattribute.h>
1515
#include <sdai.h>
1616
#include <ExpDict.h>
17+
#include "scl_memmgr.h"
1718

1819
/// This is needed so that STEPattribute's can be passed as references to inline functions
1920
STEPattribute::STEPattribute( const STEPattribute & a )

src/clstepcore/STEPattributeList.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
#include <STEPattributeList.h>
1414
#include <STEPattribute.h>
15+
#include "scl_memmgr.h"
1516

1617
AttrListNode::AttrListNode( STEPattribute * a ) {
1718
attr = a;

src/clstepcore/STEPcomplex.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#include <complexSupport.h>
66
#include <STEPattribute.h>
77
#include <sstream>
8+
#include "scl_memmgr.h"
89

910
extern const char * ReadStdKeyword( istream & in, std::string & buf, int skipInitWS );
1011

src/clstepcore/STEPundefined.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#include <stdio.h> // to get the BUFSIZ #define
1414
#include <STEPundefined.h>
1515
#include <STEPattribute.h>
16-
16+
#include "scl_memmgr.h"
1717

1818
/** \class SCLundefined
1919
** helper functions for reading unknown types

0 commit comments

Comments
 (0)