Skip to content

Commit b890c15

Browse files
committed
attempt to silence msvc linker errors
1 parent 0ba7343 commit b890c15

File tree

3 files changed

+6
-4
lines changed

3 files changed

+6
-4
lines changed

src/cllazyfile/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ include_directories(
3333
${SC_SOURCE_DIR}/src/base/judy/src
3434
)
3535

36-
SC_ADDLIB(steplazyfile "${clLazyFile_SRCS};${clLazyFile_HDRS}" "stepcore;stepdai;steputils;base")
36+
SC_ADDLIB(steplazyfile "${clLazyFile_SRCS};${clLazyFile_HDRS}" "stepcore;stepdai;steputils;base;stepeditor")
3737
SC_ADDEXEC(lazy_test "lazy_test.cc" "steplazyfile;stepeditor" )
3838
set_property(TARGET lazy_test APPEND PROPERTY COMPILE_DEFINITIONS "NO_REGISTRY")
3939
if(TARGET lazy_test-static)

src/clstepcore/sdai.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ typedef SDAI_Model_contents_ptr SDAI_Model_contents_var;
213213

214214
// ENTITY
215215
extern SC_CORE_EXPORT SDAI_Application_instance NilSTEPentity;
216+
//FIXME why 3 of these? remove 2?
217+
//in libexpress, ENTITY_NULL is also used but refers to something different
216218
#define ENTITY_NULL &NilSTEPentity
217219
#define NULL_ENTITY &NilSTEPentity
218220
#define S_ENTITY_NULL &NilSTEPentity

src/clstepcore/sdaiApplication_instance.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,15 @@
1212
* and is not subject to copyright.
1313
*/
1414

15-
#include <sc_export.h>
1615
#include <map>
1716
#include <iostream>
1817

19-
//class STEPinvAttrList;
18+
#include <sc_export.h>
19+
#include <sdaiDaObject.h>
20+
2021
class EntityAggregate;
2122
class Inverse_attribute;
2223
typedef struct {
23-
// bool aggregate;
2424
union {
2525
EntityAggregate * a;
2626
SDAI_Application_instance * i;

0 commit comments

Comments
 (0)