1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-01 17:36:21 +03:00
occt/src/OS/TTool.tcl
nds f6d8ca74d5 0030749: Inspectors - compilation under tcl scripts
- 'Search Qt4' is renamed into 'Search Qt'. Configuration uses Qt5 from now. For Qt4 use CMake configuration.
- 'Build Inspector' check box is added. It causes 'tools' toolkits compilation. Activates automatically 'Search Qt' control.
- Many Tcl procedures are extended with additional parameter to giving a directory of processed toolkits. The default directory is 'src', inspector directory is 'tools'. This way is similar Inspector compilation implemented in Cmake build procedure.
- Dependency libraries in DEBUG are stored in __TKDEP_DEBUG__. Qt requires it as names of debug and release libraries are different.
2020-02-20 18:33:01 +03:00

45 lines
1.2 KiB
Tcl

# Copyright (c) 2020 OPEN CASCADE SAS
#
# This file is part of Open CASCADE Technology software library.
#
# This library is free software; you can redistribute it and/or modify it under
# the terms of the GNU Lesser General Public License version 2.1 as published
# by the Free Software Foundation, with special exception defined in the file
# OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
# distribution for complete text of the license and disclaimer of any warranty.
#
# Alternatively, this file may be used under the terms of Open CASCADE
# commercial license or contractual agreement.
# List of toolkits
proc TTool:toolkits { } {
return [list TKTInspector TKToolsDraw]
}
# List of non-toolkits (resource units, executables etc., with associated info)
proc TTool:ressources { } {
return [list \
[list both x TInspectorEXE {}] \
]
}
# Module name
proc TTool:name { } {
return TTool
}
# And short alias
proc TTool:alias { } {
return TTool
}
# Dependency on other products
proc TTool:depends { } {
return [list FoundationClasses Draw TApplicationFramework]
}
# Returns a list of exported features.
proc TTool:Export { } {
return [list source runtime wokadm api]
}