0024165: Eliminate compiler warnings on unused variables in files generated by WOK (Schema)
A dummy cast to void is applied to potentially unused parameters and variables in generated Schema classes, to prevent compiler warnings on unused vars.
Changed WarningLevel parameter for vc projects' templates.
Unused file template.cmake removed
Changed Warning Level of Automake building procedure to -Wall.
0024048: "Basic Runtime Checks" option of VS projects should be equal to "RTC1"
set "Basic Runtime Checks" option of cmake meta-project and VC to "RTC1" (cmake default)
also copying of data folder is depend on install_tests option now
0023955: Improve CMake build scripts to make tests operable after install 0024046: in CMake build case. testgrid process produces debug error
0023955 (change cmake scripts for tests) and 0024046 ("Basic Runtime Checks" option) issues
"Basic Runtime Checks" option was "Both (/RTC1, equiv. to /RTCsu)" and has been switched now into default state
option "install_tests" added to cmake gui conf process
name of "res" folder changed to "src"
data and tests folders added to copying process
CASROOT variable is set by absolute path to OCCT
ibs [Wed, 26 Jun 2013 06:37:29 +0000 (10:37 +0400)]
0023930: cmake meta-project of OCCT doesn't have an ability for user to choose place of GLX
3RDPARTY_GLX_DIR introduced; lib and include directory are hard linked with 3RDPARTY_GLX_DIR
0023929: WOK doesn't correctly generate cmake meta-projects of OCCT
.mm files included in mac case 0023929: WOK doesn't correctly generate cmake meta-projects of OCCT
if MACOSX_USE_GLX is defined, /use/X11/lib is added to include directories
Fixed X11 link options for cmake
Fixed Xw package building with cmake
Fixed linking problem
0023887: wgenproj -target=amk generate incorrect dependicies in *.am files for occt products
if automake files generates for OCCT, toolkits will include to libTKDXF_la_LIBADD variable like ../<toolkit name>/lib<toolkit name>.so
paths to father libs added; all father libs have prefix -l now
0023862: vcX project files, generated by WOK in Linux, contain unnecessary addition options
in vcX and amk cases, wok switched to specified system condition: vcX - wnt, amk - lin;
osutils:lrmdups method refactored;
if vcX is generated in lin, error appears: %Nesting_DBMS_Station and %occt_DFLT_wnt are not "setted".
p.s. in my case, vc files are equal for win and lin, BUT in lin version:
Tkxbase project doesn’t contain files of “stepFile” group
tkadvTools project doesn’t contain files of “ExprIntrp” group
0023887: wgenproj -target=amk generate incorrect dependicies in *.am files for occt products
if automake files generates for OCCT, toolkits will include to libTKDXF_la_LIBADD variable like ../<toolkit name>/lib<toolkit name>.so 0023887: wgenproj -target=amk generate incorrect dependicies in *.am files for occt products
paths to father libs added;
all father libs have prefix -l now
0023859: Generated env.sh script contain absolute path to CASROOT folder.
Fix for paths in generated env.sh and project files for Code::Blocks and Xcode
env.sh script has been updated to make it universal for Code::Blocks and Xcode.
ibs [Tue, 26 Mar 2013 08:13:54 +0000 (12:13 +0400)]
0023840: CASROOT variable in automake env.sh script is generated incorrectly in product case 0023848: cmake configuration process doesn't correctly search freetype includes in some cases
checking of existence of freetype2 directory added
dbv [Fri, 22 Feb 2013 07:15:10 +0000 (11:15 +0400)]
0023769: Disable Xw and ImageUtility packages building on Mac OS X, when Cocoa used
Exclude X11 libraries in CMake scripts on MacOS X by default
Removed package ImageUtility
ibs [Tue, 29 Jan 2013 07:44:45 +0000 (11:44 +0400)]
0023715: Generated cmake files should link against Cocoa on Mac OS X
Collect scripts refactored
Unused variable SYSTEM was removed.
LIN macro no more defined for Mac OS target.
HAVE_CONFIG_H no more defined for Windows target.
Appended Mac OS X frameworks.
Do not append empty entries to LD_LIBRARY_PATH in "env.sh"
0023724: Add -MP option to generated VS project files
ibs [Tue, 15 Jan 2013 11:28:31 +0000 (15:28 +0400)]
0023485: The WOK should generate cmake metafiles of the OpenCascade
added for lin and win:
1. wgenproj generates cross-platform OCCT cmake meta-projects;
2. OCCT cmake meta-project settings do not depend on WOK settings;
3. choice of modules and toolkits, that are included into OCCT project
4. possibility to create standalone OCCT install folder that contains all required libs and resourced to run Draw;
5. possibility copy required 3rdparty libraries to install standalone OCCT folder
6. copy of the OCCTProductsDocumentation.tcl added to scripts
7. 3rdparty library search refactored
8. templates, mam and mamx, are needed for lib wprocess placed to lib folder;
9. template.cmake placed to lib/template folder (on linux)
10. copy the whole template folder added (for linux)
abv [Fri, 30 Nov 2012 09:40:51 +0000 (13:40 +0400)]
0023592: Enabling TBB allocator by default for OCC built with -DHAVE_TBB
Setting CSF_DEFINES environment variable to empty value is removed from env.bat to enable possibility to use this variable for adding preprocessor macros other than HAVE_* (handled by env.bat).
abv [Thu, 10 Jan 2013 06:07:45 +0000 (10:07 +0400)]
0021949: Further improvements in reference documentation
Changes in command wgendoc:
- Syntax of arguments line changed "-arg=value"
- Added messages ("done", directories of generated files , errors)
- Doxygen output is captured to log file
- Synopsis of command is output by option -h
- Fixed CHM file generation
- Provided generation of Qt Help files (does not work with doxygen 1.8.2 due to its bug)
- Added report error on unrecognized arguments
- Araph in toolkit pages moved after the list of packages
- Inclusion of macros DEFINE_*_ALLOC into the class documentation avoided.
- Generation of graphical class hierarchy (huge) disabled.
"wgenproj -h" output synopsis and some help on available options
at the end of generating projects by wgenrpoj, output indicating where to find resulting files
wgenproj now runs without args, "-target=" supports vc11 and cbp
cmk target are replaced by cmake
wgenproj -h output refactored; wgenproj -no_wprocess skips wprocess
wgenproj usage interface refactored
ibs [Thu, 20 Dec 2012 13:29:42 +0000 (17:29 +0400)]
0023629: Add support for Cocoa frameworks dependencies in EXTERNLIB 0023571: In the WOK generated OCCT CodeBlocks project source file paths are incorrect
source file paths have been corrected;
lib prefix is removed from the toolkit library name for the win version
tiny fixes added
Do not link against GL and GLU libs when OpenGL framework specified
Corrected errors in tcl script
tiny fixes added
ibs [Mon, 19 Nov 2012 11:46:10 +0000 (15:46 +0400)]
23505: The nmake support are not used about 5-6 years and the one requires to be removed
OS:MKMAK, osutils:mkmak, osutils:mkmakx functions and template.mak, template.makx files have been removed
unused items have been removed from FILES files
ibs [Mon, 19 Nov 2012 10:56:02 +0000 (14:56 +0400)]
23485: The WOK doesn't generate cmake metafile building the OpenCascade
WOK generates cmake metafile building the OpenCascade possibility has been added (using command with argument: wgenproj option -IDE=cmk)
No_Exception flag added for win; _OCC64, HAVE_CONFIG_H, OCC_CONVERT_SIGNALS definitions added; -mthreads flag added for mingw
the CMake meta-file lets to choose list of toolkits
Bash scripts:
Linux - setup PATH to 32 bit precompiled Tcl/Tk, bison and flex.
Fixed libTKOpenGl.dylib / libTKOpenGl.so mismatch.
Define DRAWHOME and CSF_DrawPluginDefaults variables.
Correctly parse DYLD_LIBRARY_PATH in template env.sh
Make codeblocks.sh workable on Linux too
0023229: Avoid overriding existing custom.bat (or .sh) in workbench
Command wgenproj will not override any more existing custom.bat (.sh) file in the current workbench.
Corrected -force argument and handling of copy failure