-
Notifications
You must be signed in to change notification settings - Fork 131
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
92 lines (85 loc) · 1.72 KB
/
CMakeLists.txt
File metadata and controls
92 lines (85 loc) · 1.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
set(CORE_SRCS
aggrTypeDescriptor.cc
attrDescriptor.cc
attrDescriptorList.cc
collect.cc
complexlist.cc
create_Aggr.cc
derivedAttribute.cc
dictSchema.cc
dispnode.cc
dispnodelist.cc
entityDescriptor.cc
entityDescriptorList.cc
entlist.cc
entnode.cc
enumTypeDescriptor.cc
explicitItemId.cc
globalRule.cc
implicitItemId.cc
instmgr.cc
interfaceSpec.cc
interfacedItem.cc
inverseAttribute.cc
inverseAttributeList.cc
match-ors.cc
mgrnode.cc
mgrnodearray.cc
mgrnodelist.cc
multlist.cc
needFunc.cc
non-ors.cc
orlist.cc
print.cc
read_func.cc
Registry.cc
schRename.cc
sdai.cc
sdaiApplication_instance.cc
sdaiSelect.cc
selectTypeDescriptor.cc
SingleLinkList.cc
STEPaggregate.cc
STEPaggrBinary.cc
STEPaggrEntity.cc
STEPaggrEnum.cc
STEPaggrGeneric.cc
STEPaggrInt.cc
STEPaggrReal.cc
STEPaggrSelect.cc
STEPaggrString.cc
STEPattribute.cc
STEPattributeList.cc
STEPcomplex.cc
STEPinvAttrList.cc
STEPundefined.cc
trynext.cc
typeDescriptor.cc
typeDescriptorList.cc
typeOrRuleVar.cc
uniquenessRule.cc
whereRule.cc
)
include_directories(
${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_SOURCE_DIR}/include/stepcode
)
set(_libdeps steputils stepdai)
if(BUILD_SHARED_LIBS)
SC_ADDLIB(stepcore SHARED SOURCES ${CORE_SRCS} LINK_LIBRARIES ${_libdeps})
if(WIN32)
target_compile_definitions(stepcore PRIVATE SC_CORE_DLL_EXPORTS)
endif()
endif()
if(BUILD_STATIC_LIBS)
SC_ADDLIB(stepcore-static STATIC SOURCES ${CORE_SRCS} LINK_LIBRARIES $<JOIN:${_libdeps},-static>-static)
endif()
if(SC_ENABLE_TESTING)
add_subdirectory(test)
endif(SC_ENABLE_TESTING)
# Local Variables:
# tab-width: 8
# mode: cmake
# indent-tabs-mode: t
# End:
# ex: shiftwidth=2 tabstop=8