mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-29 14:00:49 +03:00
0025114: CMake-based build tools for OCCT 7.0
All CMake meta-projects for OCCT are put to OCCT code (including fragments previously generated by WOK). "/bigobj" compiler flag added to TKQADraw because of the size of its object file [GeomToStep & Graphic3d] private headers are included from current dir of including source file
This commit is contained in:
37
src/TKV3d/CMakeLists.txt
Normal file
37
src/TKV3d/CMakeLists.txt
Normal file
@@ -0,0 +1,37 @@
|
||||
project(TKV3d)
|
||||
|
||||
set (TOOLKIT_MODULES
|
||||
V3d
|
||||
Graphic3d
|
||||
Visual3d
|
||||
Select3D
|
||||
Prs3d
|
||||
StdPrs
|
||||
SelectMgr
|
||||
PrsMgr
|
||||
AIS
|
||||
DsgPrs
|
||||
StdSelect
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
list( APPEND USED_LIBS user32.lib )
|
||||
list( APPEND USED_LIBS gdi32.lib )
|
||||
list( APPEND USED_LIBS opengl32.lib )
|
||||
list( APPEND USED_LIBS glu32.lib )
|
||||
elseif(APPLE)
|
||||
find_library(FRAMEWORKS_OPENGL NAMES OpenGL)
|
||||
if(USE_GLX)
|
||||
list( APPEND USED_LIBS GL )
|
||||
list( APPEND USED_LIBS GLU )
|
||||
else()
|
||||
list( APPEND USED_LIBS ${FRAMEWORKS_OPENGL} )
|
||||
endif()
|
||||
list( APPEND USED_LIBS freetype )
|
||||
else()
|
||||
list( APPEND USED_LIBS GLU )
|
||||
list( APPEND USED_LIBS GL )
|
||||
list( APPEND USED_LIBS freetype )
|
||||
endif()
|
||||
|
||||
include(${OCCT_SOURCE_DIR}/adm/cmake/BuildToolkit.cmake)
|
Reference in New Issue
Block a user