Skip to content

Commit 33102ee

Browse files
committed
First steps of resituating stepcode headers
Goal is for client codes to be able to simply include the stepcode direcotry and have everything work, rather than having to worry about individual step libraries. Will also make it clear with the dir prefixes when libraries are using .h files from other libraries, rather than their own.
1 parent 627c093 commit 33102ee

17 files changed

+88
-15
lines changed

include/core/CMakeLists.txt

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
set(CORE_HDRS
2+
aggrTypeDescriptor.h
3+
attrDescriptor.h
4+
attrDescriptorList.h
5+
# baseType.h
6+
# complexSupport.h
7+
# create_Aggr.h
8+
# derivedAttribute.h
9+
# dictSchema.h
10+
# dictdefs.h
11+
# dictionaryInstance.h
12+
# dispnode.h
13+
# dispnodelist.h
14+
# entityDescriptor.h
15+
# entityDescriptorList.h
16+
# enumTypeDescriptor.h
17+
# ExpDict.h
18+
# explicitItemId.h
19+
# globalRule.h
20+
# implicitItemId.h
21+
# instmgr.h
22+
# interfaceSpec.h
23+
# interfacedItem.h
24+
# inverseAttribute.h
25+
# inverseAttributeList.h
26+
# mgrnode.h
27+
# mgrnodearray.h
28+
# mgrnodelist.h
29+
# needFunc.h
30+
# read_func.h
31+
# realTypeDescriptor.h
32+
# Registry.h
33+
# schRename.h
34+
# sdai.h
35+
# sdaiApplication_instance.h
36+
# sdaiSelect.h
37+
# selectTypeDescriptor.h
38+
# SingleLinkList.h
39+
# STEPaggregate.h
40+
# STEPaggrBinary.h
41+
# STEPaggrEntity.h
42+
# STEPaggrEnum.h
43+
# STEPaggrGeneric.h
44+
# STEPaggrInt.h
45+
# STEPaggrReal.h
46+
# STEPaggrSelect.h
47+
# STEPaggrString.h
48+
# STEPattribute.h
49+
# STEPattributeList.h
50+
# STEPcomplex.h
51+
# STEPinvAttrList.h
52+
# STEPundefined.h
53+
# stringTypeDescriptor.h
54+
# SubSuperIterators.h
55+
# typeDescriptor.h
56+
# typeDescriptorList.h
57+
# typeOrRuleVar.h
58+
# uniquenessRule.h
59+
# whereRule.h
60+
)
61+
62+
install(FILES ${CORE_HDRS}
63+
DESTINATION ${INCLUDE_DIR}/stepcode/core)
64+
65+
# Local Variables:
66+
# tab-width: 8
67+
# mode: cmake
68+
# indent-tabs-mode: t
69+
# End:
70+
# ex: shiftwidth=2 tabstop=8
71+

src/cldai/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ SET(SC_CLDAI_HDRS
2929

3030
include_directories(
3131
${CMAKE_CURRENT_SOURCE_DIR}
32+
${CMAKE_SOURCE_DIR}/include/stepcode
3233
${SC_SOURCE_DIR}/src/clstepcore
3334
${SC_SOURCE_DIR}/src/clutils
3435
)

src/cleditor/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ SET(SC_CLEDITOR_HDRS
2121

2222
include_directories(
2323
${CMAKE_CURRENT_SOURCE_DIR}
24+
${CMAKE_SOURCE_DIR}/include/stepcode
2425
${SC_SOURCE_DIR}/src/cldai
2526
${SC_SOURCE_DIR}/src/clstepcore
2627
${SC_SOURCE_DIR}/src/clutils

src/cllazyfile/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ set( SC_CLLAZYFILE_HDRS
2929

3030
include_directories(
3131
${CMAKE_CURRENT_SOURCE_DIR}
32+
${CMAKE_SOURCE_DIR}/include/stepcode
3233
${SC_SOURCE_DIR}/src/cleditor
3334
${SC_SOURCE_DIR}/src/cldai
3435
${SC_SOURCE_DIR}/src/clstepcore

src/clstepcore/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,6 @@ set(LIBSTEPCORE_SRCS
6363
)
6464

6565
set(SC_CLSTEPCORE_HDRS
66-
aggrTypeDescriptor.h
67-
attrDescriptor.h
68-
attrDescriptorList.h
6966
baseType.h
7067
complexSupport.h
7168
create_Aggr.h
@@ -125,6 +122,7 @@ set(SC_CLSTEPCORE_HDRS
125122

126123
include_directories(
127124
${CMAKE_CURRENT_SOURCE_DIR}
125+
${CMAKE_SOURCE_DIR}/include/stepcode
128126
${SC_SOURCE_DIR}/src/cldai
129127
${SC_SOURCE_DIR}/src/cleditor
130128
${SC_SOURCE_DIR}/src/clutils

src/clstepcore/ExpDict.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
#include <Str.h>
2929

3030
// each of these contains linked list, list node, iterator
31-
#include "attrDescriptorList.h"
31+
#include "core/attrDescriptorList.h"
3232
#include "inverseAttributeList.h"
3333
#include "typeDescriptorList.h"
3434
#include "entityDescriptorList.h"
@@ -37,7 +37,7 @@
3737
#include "typeDescriptor.h"
3838
#include "entityDescriptor.h"
3939
#include "enumTypeDescriptor.h"
40-
#include "attrDescriptor.h"
40+
#include "core/attrDescriptor.h"
4141
#include "derivedAttribute.h"
4242
#include "inverseAttribute.h"
4343

@@ -56,7 +56,7 @@
5656
#include "dictSchema.h"
5757
#include "schRename.h"
5858

59-
#include "aggrTypeDescriptor.h"
59+
#include "core/aggrTypeDescriptor.h"
6060
#include "selectTypeDescriptor.h"
6161
#include "stringTypeDescriptor.h"
6262
#include "realTypeDescriptor.h"

src/clstepcore/aggrTypeDescriptor.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "aggrTypeDescriptor.h"
1+
#include "core/aggrTypeDescriptor.h"
22

33
STEPaggregate * AggrTypeDescriptor::CreateAggregate() {
44
if( CreateNewAggr ) {

0 commit comments

Comments
 (0)