Archived issue #0024786
Move functionality of WOK command wgenproj to OCCT tool genproj
Description
Currently generation of OCCT project files is provided by command wgenproj available in WOK environment.
In the view of forthcoming elimination of WOK, it is necessary to move this functionality to a separate tool available in OCCT (adm/genproj.tcl).
In the view of forthcoming elimination of WOK, it is necessary to move this functionality to a separate tool available in OCCT (adm/genproj.tcl).
Steps to reproduce
genproj.bat
Public activity
12 archived notes
Participants are labeled by their role within this record.
Branch [archived branch] has been updated by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been created by Participant.
[revision removed]
Detailed log of new commits:
Author: ski
Date: Wed Jul 9 13:37:07 2014 +0400
0024786: Move functionality of WOK command wgenproj to OCCT tool genproj
Script genproj.tcl was created.
Generation of VC projects is available.
Author: abv
Date: Sat Jul 4 07:20:02 2015 +0300
0024816: Tool for upgrading OCCT and dependent code
A new script adm/upgrade.tcl defines a Tcl procedure occt_upgrade, to be used for upgrading code of OCCT and applications for changes introduced by OCCT 7.0.
Details on upgrade procedure are put in dox/dev_guides/upgrade/upgrade.md.
[revision removed]
Detailed log of new commits:
Author: ski
Date: Wed Jul 9 13:37:07 2014 +0400
0024786: Move functionality of WOK command wgenproj to OCCT tool genproj
Script genproj.tcl was created.
Generation of VC projects is available.
Author: abv
Date: Sat Jul 4 07:20:02 2015 +0300
0024816: Tool for upgrading OCCT and dependent code
A new script adm/upgrade.tcl defines a Tcl procedure occt_upgrade, to be used for upgrading code of OCCT and applications for changes introduced by OCCT 7.0.
Details on upgrade procedure are put in dox/dev_guides/upgrade/upgrade.md.
I have rebased the patch on CR0-IR-OCCT7-alpha3, removing CMake generation, restoring inc as include directory, and updating project templates to their actual state (from WOK repo).
The remaining point is to add a step before projects generation that would populate folder inc (in build directory) by shortcut header files directing to corresponding header in src, for instance:
/inc/gp.hxx:
#include "../src/gp/gp.hxx"
This generation should:
- process all hxx, lxx, and gxx files in the modules being built
- use relative path (as above) if build directory is CASROOT, absolute path otherwise
- check if the file already exists with the correct content, and update only if content is different
- detect and remove obsolete shortcut headers
The remaining point is to add a step before projects generation that would populate folder inc (in build directory) by shortcut header files directing to corresponding header in src, for instance:
/inc/gp.hxx:
#include "../src/gp/gp.hxx"
This generation should:
- process all hxx, lxx, and gxx files in the modules being built
- use relative path (as above) if build directory is CASROOT, absolute path otherwise
- check if the file already exists with the correct content, and update only if content is different
- detect and remove obsolete shortcut headers
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: ibs
Date: Tue Jul 7 11:27:42 2015 +0300
0024786: Move functionality of WOK command wgenproj to OCCT tool genproj
wokconfgui is being called if custom.bat does not exist
Author: ibs
Date: Mon Jul 6 14:10:08 2015 +0300
0024786: Move functionality of WOK command wgenproj to OCCT tool genproj
genproj creates short-cut files of required include header files in $casroot/inc
[revision removed]
Detailed log of new commits:
Author: ibs
Date: Tue Jul 7 11:27:42 2015 +0300
0024786: Move functionality of WOK command wgenproj to OCCT tool genproj
wokconfgui is being called if custom.bat does not exist
Author: ibs
Date: Mon Jul 6 14:10:08 2015 +0300
0024786: Move functionality of WOK command wgenproj to OCCT tool genproj
genproj creates short-cut files of required include header files in $casroot/inc
Branch [archived branch] has been updated forcibly by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been updated by Participant.
[revision removed]
Detailed log of new commits:
Author: unknown
Date: Wed Jul 8 10:46:17 2015 +0300
[TCL] short-cut headers contains header include with relative path
[revision removed]
Detailed log of new commits:
Author: unknown
Date: Wed Jul 8 10:46:17 2015 +0300
[TCL] short-cut headers contains header include with relative path
I think that adding hint about including tcl binaries into PATH variable will be useful. Without it hard to understand reason of failure.
Considered as completed (except of last remark) and integrated to master
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been deleted by Participant.
[revision removed]
[revision removed]
Branch [archived branch] has been deleted by Commenter 3.
[revision removed]
[revision removed]
Alexander, for this your remark:
> I think that adding hint about including tcl binaries into PATH variable will be useful. Without it hard to understand reason of failure.
this should be improved in #0024816 (error should be reported if Tcl is not present in PATH), you can check this after that fix is integrated (hopefully, this Friday)
> I think that adding hint about including tcl binaries into PATH variable will be useful. Without it hard to understand reason of failure.
this should be improved in #0024816 (error should be reported if Tcl is not present in PATH), you can check this after that fix is integrated (hopefully, this Friday)
Related records
- #0026467 · parent of · closedConfiguration, genproj.tcl - restore generation of Code::Blocks and XCode project files
- #0026602 · parent of · closedConfiguration, genproj.tcl - drop code generating Automake files
- #0032399 · parent of · closedConfiguration - correct search of VTK bin path by genconf
- #0026405 · related to · closedCMake should use units that are required by build OS