Archived issue #0029308
Configuration, Inspectors - search of Qt in CMake scripts is separated from search of other 3rd-party libs
Description
OCCT CMake scripts perform search of Qt if BUILD_Inspectors option is enabled. Unlike for other 3rd-party tools, this search is done at the end of the script. It is not logical and not convenient because:
1. Qt is not listed among the list of used thrird-party libs (see "Info: The directories of 3rdparty" in the log)
2. Qt is searched after processing of inc folder, which is quite long. Hence, if Qt cannot be found, this time is spent for nothing.
See CMake log in "additional info" field.
1. Qt is not listed among the list of used thrird-party libs (see "Info: The directories of 3rdparty" in the log)
2. Qt is searched after processing of inc folder, which is quite long. Hence, if Qt cannot be found, this time is spent for nothing.
See CMake log in "additional info" field.
Additional information
cotire 1.7.9 loaded.
Info: /D_WINDOWS has been removed from CMAKE_CXX_FLAGS
Info: /DWIN32 has been removed from CMAKE_CXX_FLAGS
Info: /D_WINDOWS has been removed from CMAKE_C_FLAGS
Info: /DWIN32 has been removed from CMAKE_C_FLAGS
Info: TCL is used by OCCT
Info: TK is used from TCL folder: D:/ABV/OCCT/3rdparty/tcltk-86-64
Info: TK is used by OCCT
Info: Freetype is used by OCCT
Info: TKIVtk and TKIVtkDraw toolkits excluded due to VTK usage is disabled
Info: The directories of 3rdparty headers:
D:/ABV/OCCT/3rdparty/tcltk-86-64/include
D:/ABV/OCCT/3rdparty/freetype-2.5.5-vc12-64/include
D:/ABV/OCCT/3rdparty/freeimage-3.17.0-vc12-64/include
D:/ABV/OCCT/3rdparty/tbb_2017.0.100/include
Info: The directories of 3rdparty libraries:
D:/ABV/OCCT/3rdparty/tcltk-86-64/lib
D:/ABV/OCCT/3rdparty/freetype-2.5.5-vc12-64/lib
D:/ABV/OCCT/3rdparty/freeimage-3.17.0-vc12-64/lib
D:/ABV/OCCT/3rdparty/tbb_2017.0.100/lib/intel64/vc12
Info: (15:49:14) Start collecting all OCCT header files into D:/ABV/OCCT/occt/win64/vc12/cmake/inc ...
Info: (15:49:14) Compare FILES with files in package directories...
Warning. File D:/ABV/OCCT/occt/src/StepFile/step.lex is not listed in D:/ABV/OCCT/occt/src/StepFile/FILES
Warning. File D:/ABV/OCCT/occt/src/StepFile/step.yacc is not listed in D:/ABV/OCCT/occt/src/StepFile/FILES
Info: (15:49:24) Create header-links in inc folder...
Info: (15:49:33) Checking headers in inc folder...
Warning. (inspector) D:/ABV/OCCT/occt/win64/vc12/cmake/inc/inspector is not used and will be removed from D:/ABV/OCCT/occt/win64/vc12/cmake/inc
Info: (15:49:36) End the collecting
Info: (15:49:36) Start collecting all OCCT tool header files into D:/ABV/OCCT/occt/win64/vc12/cmake/tools/inc ...
Info: (15:49:36) Compare FILES with files in package directories...
Info: (15:49:36) Create header-links in inc folder...
Info: (15:49:36) Checking headers in inc folder...
Info: Qt is used from folder: D:/ABV/Projects/AssemblyControl/cadprocessor/3rdparty/qt-5.9.1-vc12-64
Info: Qt is used by OCCT
Info: (15:49:36) OCCT toolkits processed
Info: (15:49:36) OCCT configuration files prepared
Configuring done
Info: /D_WINDOWS has been removed from CMAKE_CXX_FLAGS
Info: /DWIN32 has been removed from CMAKE_CXX_FLAGS
Info: /D_WINDOWS has been removed from CMAKE_C_FLAGS
Info: /DWIN32 has been removed from CMAKE_C_FLAGS
Info: TCL is used by OCCT
Info: TK is used from TCL folder: D:/ABV/OCCT/3rdparty/tcltk-86-64
Info: TK is used by OCCT
Info: Freetype is used by OCCT
Info: TKIVtk and TKIVtkDraw toolkits excluded due to VTK usage is disabled
Info: The directories of 3rdparty headers:
D:/ABV/OCCT/3rdparty/tcltk-86-64/include
D:/ABV/OCCT/3rdparty/freetype-2.5.5-vc12-64/include
D:/ABV/OCCT/3rdparty/freeimage-3.17.0-vc12-64/include
D:/ABV/OCCT/3rdparty/tbb_2017.0.100/include
Info: The directories of 3rdparty libraries:
D:/ABV/OCCT/3rdparty/tcltk-86-64/lib
D:/ABV/OCCT/3rdparty/freetype-2.5.5-vc12-64/lib
D:/ABV/OCCT/3rdparty/freeimage-3.17.0-vc12-64/lib
D:/ABV/OCCT/3rdparty/tbb_2017.0.100/lib/intel64/vc12
Info: (15:49:14) Start collecting all OCCT header files into D:/ABV/OCCT/occt/win64/vc12/cmake/inc ...
Info: (15:49:14) Compare FILES with files in package directories...
Warning. File D:/ABV/OCCT/occt/src/StepFile/step.lex is not listed in D:/ABV/OCCT/occt/src/StepFile/FILES
Warning. File D:/ABV/OCCT/occt/src/StepFile/step.yacc is not listed in D:/ABV/OCCT/occt/src/StepFile/FILES
Info: (15:49:24) Create header-links in inc folder...
Info: (15:49:33) Checking headers in inc folder...
Warning. (inspector) D:/ABV/OCCT/occt/win64/vc12/cmake/inc/inspector is not used and will be removed from D:/ABV/OCCT/occt/win64/vc12/cmake/inc
Info: (15:49:36) End the collecting
Info: (15:49:36) Start collecting all OCCT tool header files into D:/ABV/OCCT/occt/win64/vc12/cmake/tools/inc ...
Info: (15:49:36) Compare FILES with files in package directories...
Info: (15:49:36) Create header-links in inc folder...
Info: (15:49:36) Checking headers in inc folder...
Info: Qt is used from folder: D:/ABV/Projects/AssemblyControl/cadprocessor/3rdparty/qt-5.9.1-vc12-64
Info: Qt is used by OCCT
Info: (15:49:36) OCCT toolkits processed
Info: (15:49:36) OCCT configuration files prepared
Configuring done
Public activity
5 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been created by Commenter 3.
[revision removed]
Detailed log of new commits:
Author: Commenter 3
Date: Fri Jul 19 13:52:33 2019 +0300
0029308: Configuration, Inspectors - search of Qt in CMake scripts is separated from search of other 3rd-party libs
Qt for inspector and samples is searched together with all 3rd-party products
[revision removed]
Detailed log of new commits:
Author: Commenter 3
Date: Fri Jul 19 13:52:33 2019 +0300
0029308: Configuration, Inspectors - search of Qt in CMake scripts is separated from search of other 3rd-party libs
Qt for inspector and samples is searched together with all 3rd-party products
Dear ski, could you please review occt and products branches CR29308.
Branch [archived branch] has been updated forcibly by Commenter 3.
[revision removed]
[revision removed]
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Related records