Skip to content

Commit

Permalink
Prepare our step converter codes to work with FindSTEPCODE results ra…
Browse files Browse the repository at this point in the history
…ther than assuming build targets and an in-src-dir stepcode source tree.
  • Loading branch information
starseeker committed Aug 17, 2023
1 parent 971e04f commit 199a10f
Show file tree
Hide file tree
Showing 11 changed files with 5,378 additions and 44 deletions.
8 changes: 4 additions & 4 deletions src/conv/step/ap203e2-g/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -230,10 +230,10 @@ set(ap203e2g_LIBS
librt
libbu
libbrep
steputils
stepeditor
stepdai
stepcore
${STEPCODE_UTILS_LIBRARY}
${STEPCODE_EDITOR_LIBRARY}
${STEPCODE_DAI_LIBRARY}
${STEPCODE_CORE_LIBRARY}
${OPENNURBS_LIBRARIES}
)
list(APPEND ap203e2g_LIBS ${ap203e2g_LIBS})
Expand Down
8 changes: 4 additions & 4 deletions src/conv/step/ap214-g/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -232,10 +232,10 @@ set(ap214g_LIBS
librt
libbu
libbrep
steputils
stepeditor
stepdai
stepcore
${STEPCODE_UTILS_LIBRARY}
${STEPCODE_EDITOR_LIBRARY}
${STEPCODE_DAI_LIBRARY}
${STEPCODE_CORE_LIBRARY}
${OPENNURBS_LIBRARIES}
)
list(APPEND ap214g_LIBS ${ap214g_LIBS})
Expand Down
8 changes: 4 additions & 4 deletions src/conv/step/ap242-g/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -231,10 +231,10 @@ set(ap242g_LIBS
librt
libbu
libbrep
steputils
stepeditor
stepdai
stepcore
${STEPCODE_UTILS_LIBRARY}
${STEPCODE_EDITOR_LIBRARY}
${STEPCODE_DAI_LIBRARY}
${STEPCODE_CORE_LIBRARY}
${OPENNURBS_LIBRARIES}
)
list(APPEND ap242g_LIBS ${ap242g_LIBS})
Expand Down
8 changes: 4 additions & 4 deletions src/conv/step/g-ap203e2/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ set(gap203e2_LIBS
libbrep
libbn
libbu
steputils
stepeditor
stepdai
stepcore
${STEPCODE_UTILS_LIBRARY}
${STEPCODE_EDITOR_LIBRARY}
${STEPCODE_DAI_LIBRARY}
${STEPCODE_CORE_LIBRARY}
${OPENNURBS_LIBRARIES}
)
list(APPEND gap203e2_LIBS ${gap203e2_LIBS})
Expand Down
8 changes: 4 additions & 4 deletions src/conv/step/g-ap214/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ set(gap214_LIBS
libbrep
libbn
libbu
steputils
stepeditor
stepdai
stepcore
${STEPCODE_UTILS_LIBRARY}
${STEPCODE_EDITOR_LIBRARY}
${STEPCODE_DAI_LIBRARY}
${STEPCODE_CORE_LIBRARY}
${OPENNURBS_LIBRARIES}
)
list(APPEND gap214_LIBS ${gap214_LIBS})
Expand Down
8 changes: 4 additions & 4 deletions src/conv/step/g-ap242/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ set(gap242_LIBS
libbrep
libbn
libbu
steputils
stepeditor
stepdai
stepcore
${STEPCODE_UTILS_LIBRARY}
${STEPCODE_EDITOR_LIBRARY}
${STEPCODE_DAI_LIBRARY}
${STEPCODE_CORE_LIBRARY}
${OPENNURBS_LIBRARIES}
)
list(APPEND gap242_LIBS ${gap242_LIBS})
Expand Down
10 changes: 5 additions & 5 deletions src/conv/step/g-step/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BRLCAD_INCLUDE_DIRS(STEPCODE_INCLUDE_DIRS)

link_directories(${CMAKE_BINARY_DIR}/${LIB_DIR})

set(STEP_SCHEMA_FILE ${CMAKE_SOURCE_DIR}/src/other/ext/stepcode/data/ap203/ap203.exp)
set(STEP_SCHEMA_FILE ${CMAKE_CURRENT_SOURCE_DIR}/../step-g/ap203.exp)
add_definitions(-DAP203)

GENERATE_SCHEMA_INPUTS(${STEP_SCHEMA_FILE} gstep)
Expand Down Expand Up @@ -39,10 +39,10 @@ if (BRLCAD_ENABLE_STEP)
libbrep
libbn
libbu
steputils
stepeditor
stepdai
stepcore
${STEPCODE_UTILS_LIBRARY}
${STEPCODE_EDITOR_LIBRARY}
${STEPCODE_DAI_LIBRARY}
${STEPCODE_CORE_LIBRARY}
${OPENNURBS_LIBRARIES}
)

Expand Down
8 changes: 4 additions & 4 deletions src/conv/step/ifc-g/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ set(ifcg_LIBS
librt
libbu
libbrep
steputils
stepeditor
stepdai
stepcore
${STEPCODE_UTILS_LIBRARY}
${STEPCODE_EDITOR_LIBRARY}
${STEPCODE_DAI_LIBRARY}
${STEPCODE_CORE_LIBRARY}
${OPENNURBS_LIBRARIES}
)
list(APPEND ifcg_LIBS ${ifcg_LIBS})
Expand Down
15 changes: 9 additions & 6 deletions src/conv/step/step-g/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ BRLCAD_INCLUDE_DIRS(AP203_INCLUDE_DIRS)

link_directories(${CMAKE_BINARY_DIR}/${LIB_DIR})

set(STEP_SCHEMA_FILE ${CMAKE_SOURCE_DIR}/src/other/ext/stepcode/data/ap203/ap203.exp)
set(STEP_SCHEMA_FILE ${CMAKE_CURRENT_SOURCE_DIR}/ap203.exp)
add_definitions(-DAP203)

GENERATE_SCHEMA_INPUTS(${STEP_SCHEMA_FILE} stepg)
Expand Down Expand Up @@ -460,10 +460,10 @@ if (BRLCAD_ENABLE_STEP)
librt
libbu
libbrep
steputils
stepeditor
stepdai
stepcore
${STEPCODE_UTILS_LIBRARY}
${STEPCODE_EDITOR_LIBRARY}
${STEPCODE_DAI_LIBRARY}
${STEPCODE_CORE_LIBRARY}
${OPENNURBS_LIBRARIES}
)

Expand All @@ -480,7 +480,10 @@ if (BRLCAD_ENABLE_STEP)
endif(HIDE_INTERNAL_SYMBOLS)
endif (BRLCAD_ENABLE_STEP)

CMAKEFILES(CMakeLists.txt)
CMAKEFILES(
CMakeLists.txt
ap203.exp
)

# Local Variables:
# tab-width: 8
Expand Down
Loading

0 comments on commit 199a10f

Please sign in to comment.