mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
39
src/TKernel/CMakeLists.txt
Normal file
39
src/TKernel/CMakeLists.txt
Normal file
@@ -0,0 +1,39 @@
|
||||
project(TKernel)
|
||||
|
||||
set (TOOLKIT_MODULES
|
||||
FSD
|
||||
MMgt
|
||||
OSD
|
||||
Plugin
|
||||
Quantity
|
||||
Resource
|
||||
Standard
|
||||
StdFail
|
||||
Storage
|
||||
TColStd
|
||||
TCollection
|
||||
TShort
|
||||
Units
|
||||
UnitsAPI
|
||||
Dico
|
||||
NCollection
|
||||
Message
|
||||
)
|
||||
|
||||
if (WIN32)
|
||||
list( APPEND USED_LIBS advapi32.lib )
|
||||
list( APPEND USED_LIBS gdi32.lib )
|
||||
list( APPEND USED_LIBS user32.lib )
|
||||
list( APPEND USED_LIBS kernel32.lib )
|
||||
else()
|
||||
if (NOT APPLE)
|
||||
list( APPEND USED_LIBS pthread )
|
||||
list( APPEND USED_LIBS rt )
|
||||
endif()
|
||||
if(USE_TBB)
|
||||
list( APPEND USED_LIBS tbb )
|
||||
list( APPEND USED_LIBS tbbmalloc )
|
||||
endif()
|
||||
endif()
|
||||
|
||||
include(${OCCT_SOURCE_DIR}/adm/cmake/BuildToolkit.cmake)
|
Reference in New Issue
Block a user