1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-02 17:46:22 +03:00

Configure - Fixed issue with static build of DRAWEXE #462

Replace EXTERNLIB_STATIC file with inline CMake variable definition.
This commit is contained in:
Pasukhin Dmitry 2025-03-24 19:18:58 +00:00 committed by GitHub
parent 43b1e47118
commit fd7a989826
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 94 additions and 90 deletions

View File

@ -3,7 +3,8 @@ project(DRAWEXE)
unset (CUSTOM_EXTERNLIB)
if (NOT BUILD_SHARED_LIBS)
# link specific list of plugins explicitly
FILE_TO_LIST ("src/${PROJECT_NAME}/EXTERNLIB_STATIC" CUSTOM_EXTERNLIB)
include (${CMAKE_CURRENT_LIST_DIR}/EXTERNLIB_STATIC.cmake)
set (CUSTOM_EXTERNLIB ${OCCT_${PROJECT_NAME}_EXTERNAL_STATIC_LIBS})
if (USE_OPENGL)
list (REMOVE_ITEM CUSTOM_EXTERNLIB TKOpenGles)
list (REMOVE_ITEM CUSTOM_EXTERNLIB TKOpenGlesTest)

View File

@ -1,89 +0,0 @@
TKTopTest
TKDCAF
TKXSDRAW
TKXDEDRAW
TKXSDRAWSTEP
TKXSDRAWIGES
TKXSDRAWGLTF
TKXSDRAWOBJ
TKXSDRAWPLY
TKXSDRAWVRML
TKXSDRAWSTL
TKXSDRAWDE
TKOpenGlTest
TKOpenGlesTest
TKViewerTest
TKDraw
TKMeshVS
TKTObj
TKBinTObj
TKXmlTObj
TKXSBase
TKRWMesh
TKDE
TKDESTEP
TKDEIGES
TKDEGLTF
TKDEOBJ
TKDEPLY
TKDEVRML
TKDESTL
TKDECascade
TKBinXCAF
TKXmlXCAF
TKBin
TKXml
TKXmlL
TKBinL
TKOpenGl
TKOpenGles
TKXCAF
TKVCAF
TKStd
TKCAF
TKV3d
TKHLR
TKMesh
TKService
TKOffset
TKFillet
TKFeat
TKBool
TKBO
TKShHealing
TKPrim
TKTopAlgo
TKGeomAlgo
TKBRep
TKGeomBase
TKG3d
TKG2d
TKMath
TKStdL
TKLCAF
TKCDF
TKernel
CSF_TclTkLibs
CSF_TclLibs
CSF_OpenVR
CSF_OpenGlLibs
CSF_OpenGlesLibs
CSF_FFmpeg
CSF_FreeImagePlus
CSF_FREETYPE
CSF_Draco
CSF_user32
CSF_advapi32
CSF_XwLibs
CSF_dpsLibs
CSF_XmuLibs
CSF_fontconfig
CSF_objc
CSF_Appkit
CSF_IOKit
CSF_winmm
CSF_ThreadLibs
CSF_dl
CSF_wsock32
CSF_psapi
CSF_androidlog

View File

@ -0,0 +1,92 @@
# External dependencies for static DRAWEXE
set(OCCT_DRAWEXE_EXTERNAL_STATIC_LIBS
TKTopTest
TKDCAF
TKXSDRAW
TKXDEDRAW
TKXSDRAWSTEP
TKXSDRAWIGES
TKXSDRAWGLTF
TKXSDRAWOBJ
TKXSDRAWPLY
TKXSDRAWVRML
TKXSDRAWSTL
TKXSDRAWDE
TKOpenGlTest
TKOpenGlesTest
TKViewerTest
TKDraw
TKMeshVS
TKTObj
TKBinTObj
TKXmlTObj
TKXSBase
TKRWMesh
TKDE
TKDESTEP
TKDEIGES
TKDEGLTF
TKDEOBJ
TKDEPLY
TKDEVRML
TKDESTL
TKDECascade
TKBinXCAF
TKXmlXCAF
TKBin
TKXml
TKXmlL
TKBinL
TKOpenGl
TKOpenGles
TKXCAF
TKVCAF
TKStd
TKCAF
TKV3d
TKHLR
TKMesh
TKService
TKOffset
TKFillet
TKFeat
TKBool
TKBO
TKShHealing
TKPrim
TKTopAlgo
TKGeomAlgo
TKBRep
TKGeomBase
TKG3d
TKG2d
TKMath
TKStdL
TKLCAF
TKCDF
TKernel
CSF_TclTkLibs
CSF_TclLibs
CSF_OpenVR
CSF_OpenGlLibs
CSF_OpenGlesLibs
CSF_FFmpeg
CSF_FreeImagePlus
CSF_FREETYPE
CSF_Draco
CSF_user32
CSF_advapi32
CSF_XwLibs
CSF_dpsLibs
CSF_XmuLibs
CSF_fontconfig
CSF_objc
CSF_Appkit
CSF_IOKit
CSF_winmm
CSF_ThreadLibs
CSF_dl
CSF_wsock32
CSF_psapi
CSF_androidlog
)