File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1-
2- set (LIBSTEPDAI_SRCS
1+ set (DAI_SRCS
32 sdaiApplication_instance_set.cc
43 sdaiBinary.cc
54 sdaiDaObject.cc
@@ -16,21 +15,19 @@ set(LIBSTEPDAI_SRCS
1615include_directories (
1716 ${CMAKE_CURRENT_SOURCE_DIR}
1817 ${CMAKE_SOURCE_DIR} /include/stepcode
19- ${SC_SOURCE_DIR} /src/clstepcore
20- ${SC_SOURCE_DIR} /src/clutils
2118 )
2219
2320set (_libdeps steputils)
2421
2522if (BUILD_SHARED_LIBS )
26- SC_ADDLIB (stepdai SHARED SOURCES ${LIBSTEPDAI_SRCS } LINK_LIBRARIES ${_libdeps} )
23+ SC_ADDLIB (stepdai SHARED SOURCES ${DAI_SRCS } LINK_LIBRARIES ${_libdeps} )
2724 if (WIN32 )
2825 target_compile_definitions (stepdai PRIVATE SC_DAI_DLL_EXPORTS )
2926 endif ()
3027endif ()
3128
3229if (BUILD_STATIC_LIBS)
33- SC_ADDLIB (stepdai-static STATIC SOURCES ${LIBSTEPDAI_SRCS } LINK_LIBRARIES $<JOIN :${_libdeps} ,-static >-static )
30+ SC_ADDLIB (stepdai-static STATIC SOURCES ${DAI_SRCS } LINK_LIBRARIES $<JOIN :${_libdeps} ,-static >-static )
3431endif ()
3532
3633# Local Variables:
Original file line number Diff line number Diff line change 1-
2- set (LIBSTEPEDITOR_SRCS
1+ set (EDITOR_SRCS
32 STEPfile.cc
43 STEPfile.inline.cc
54 cmdmgr.cc
@@ -12,20 +11,17 @@ set(LIBSTEPEDITOR_SRCS
1211include_directories (
1312 ${CMAKE_CURRENT_SOURCE_DIR}
1413 ${CMAKE_SOURCE_DIR} /include/stepcode
15- ${SC_SOURCE_DIR} /src/cldai
16- ${SC_SOURCE_DIR} /src/clstepcore
17- ${SC_SOURCE_DIR} /src/clutils
1814 )
1915
2016if (BUILD_SHARED_LIBS )
21- SC_ADDLIB (stepeditor SHARED SOURCES ${LIBSTEPEDITOR_SRCS } LINK_LIBRARIES stepcore stepdai steputils )
17+ SC_ADDLIB (stepeditor SHARED SOURCES ${EDITOR_SRCS } LINK_LIBRARIES stepcore stepdai steputils )
2218 if (WIN32 )
2319 target_compile_definitions (stepeditor PRIVATE SC_EDITOR_DLL_EXPORTS )
2420 endif ()
2521endif ()
2622
2723if (BUILD_STATIC_LIBS)
28- SC_ADDLIB (stepeditor-static STATIC SOURCES ${LIBSTEPEDITOR_SRCS } LINK_LIBRARIES stepcore-static stepdai-static steputils-static )
24+ SC_ADDLIB (stepeditor-static STATIC SOURCES ${EDITOR_SRCS } LINK_LIBRARIES stepcore-static stepdai-static steputils-static )
2925endif ()
3026
3127# Local Variables:
Original file line number Diff line number Diff line change 1-
2- set ( clLazyFile_SRCS
1+ set (LAZY_SRCS
32 lazyDataSectionReader.cc
43 lazyFileReader.cc
54 lazyInstMgr.cc
@@ -12,24 +11,20 @@ set( clLazyFile_SRCS
1211include_directories (
1312 ${CMAKE_CURRENT_SOURCE_DIR}
1413 ${CMAKE_SOURCE_DIR} /include/stepcode
15- ${SC_SOURCE_DIR} /src/cleditor
16- ${SC_SOURCE_DIR} /src/cldai
17- ${SC_SOURCE_DIR} /src/clstepcore
18- ${SC_SOURCE_DIR} /src/clutils
1914 )
2015
2116set (_libdeps stepcore stepdai steputils stepeditor)
2217
2318if (BUILD_SHARED_LIBS )
24- SC_ADDLIB (steplazyfile SHARED SOURCES ${clLazyFile_SRCS } LINK_LIBRARIES ${_libdeps} )
19+ SC_ADDLIB (steplazyfile SHARED SOURCES ${LAZY_SRCS } LINK_LIBRARIES ${_libdeps} )
2520 if (WIN32 )
2621 target_compile_definitions (steplazyfile PRIVATE SC_LAZYFILE_DLL_EXPORTS )
2722 endif ()
2823endif ()
2924
3025if (BUILD_STATIC_LIBS)
3126 set (_libdeps stepcore-static stepdai-static steputils-static stepeditor-static)
32- SC_ADDLIB (steplazyfile-static STATIC SOURCES ${clLazyFile_SRCS } LINK_LIBRARIES ${_libdeps} )
27+ SC_ADDLIB (steplazyfile-static STATIC SOURCES ${LAZY_SRCS } LINK_LIBRARIES ${_libdeps} )
3328endif ()
3429
3530SC_ADDEXEC (lazy_test SOURCES "lazy_test.cc;sc_benchmark.cc" LINK_LIBRARIES steplazyfile stepeditor NO_INSTALL )
Original file line number Diff line number Diff line change 1-
2- set (LIBSTEPCORE_SRCS
1+ set (CORE_SRCS
32 aggrTypeDescriptor.cc
43 attrDescriptor.cc
54 attrDescriptorList.cc
@@ -65,22 +64,19 @@ set(LIBSTEPCORE_SRCS
6564include_directories (
6665 ${CMAKE_CURRENT_SOURCE_DIR}
6766 ${CMAKE_SOURCE_DIR} /include/stepcode
68- ${SC_SOURCE_DIR} /src/cldai
69- ${SC_SOURCE_DIR} /src/cleditor
70- ${SC_SOURCE_DIR} /src/clutils
7167 )
7268
7369set (_libdeps steputils stepdai)
7470
7571if (BUILD_SHARED_LIBS )
76- SC_ADDLIB (stepcore SHARED SOURCES ${LIBSTEPCORE_SRCS } LINK_LIBRARIES ${_libdeps} )
72+ SC_ADDLIB (stepcore SHARED SOURCES ${CORE_SRCS } LINK_LIBRARIES ${_libdeps} )
7773 if (WIN32 )
7874 target_compile_definitions (stepcore PRIVATE SC_CORE_DLL_EXPORTS )
7975 endif ()
8076endif ()
8177
8278if (BUILD_STATIC_LIBS)
83- SC_ADDLIB (stepcore-static STATIC SOURCES ${LIBSTEPCORE_SRCS } LINK_LIBRARIES $<JOIN :${_libdeps} ,-static >-static )
79+ SC_ADDLIB (stepcore-static STATIC SOURCES ${CORE_SRCS } LINK_LIBRARIES $<JOIN :${_libdeps} ,-static >-static )
8480endif ()
8581
8682if (SC_ENABLE_TESTING)
Original file line number Diff line number Diff line change 1- set (LIBSTEPUTILS_SRCS
1+ set (UTILS_SRCS
22 Str.cc
33 dirobj.cc
44 gennode.cc
@@ -11,19 +11,18 @@ set(LIBSTEPUTILS_SRCS
1111include_directories (
1212 ${SC_BINARY_DIR} /include
1313 ${CMAKE_CURRENT_SOURCE_DIR}
14- ${CMAKE_SOURCE_DIR} /include/stepcode
1514 )
1615
1716if (BUILD_SHARED_LIBS )
18- SC_ADDLIB (steputils SHARED SOURCES ${LIBSTEPUTILS_SRCS } )
17+ SC_ADDLIB (steputils SHARED SOURCES ${UTILS_SRCS } )
1918 if (WIN32 )
2019 target_compile_definitions (steputils PRIVATE SC_UTILS_DLL_EXPORTS )
2120 target_link_libraries (steputils shlwapi )
2221 endif ()
2322endif ()
2423
2524if (BUILD_STATIC_LIBS)
26- SC_ADDLIB (steputils-static STATIC SOURCES ${LIBSTEPUTILS_SRCS } )
25+ SC_ADDLIB (steputils-static STATIC SOURCES ${UTILS_SRCS } )
2726 if (WIN32 )
2827 target_link_libraries (steputils-static shlwapi )
2928 endif ()
You can’t perform that action at this time.
0 commit comments