mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +03:00
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.
This commit is contained in:
@@ -58,10 +58,6 @@ proc ApplicationFramework:depends { } {
|
||||
|
||||
;#
|
||||
;# Returns a list of exported features.
|
||||
;# source : Source files
|
||||
;# runtime: Shareables
|
||||
;# wokadm : WOK admin files
|
||||
;# api : Public include files
|
||||
;#
|
||||
proc ApplicationFramework:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
|
@@ -56,10 +56,6 @@ proc DataExchange:depends { } {
|
||||
|
||||
;#
|
||||
;# Returns a list of exported features.
|
||||
;# source : Source files
|
||||
;# runtime: Shareables
|
||||
;# wokadm : WOK admin files
|
||||
;# api : Public include files
|
||||
;#
|
||||
proc DataExchange:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
|
@@ -58,10 +58,6 @@ proc Draw:acdepends { } {
|
||||
|
||||
;#
|
||||
;# Returns a list of exported features.
|
||||
;# source : Source files
|
||||
;# runtime: Shareables
|
||||
;# wokadm : WOK admin files
|
||||
;# api : Public include files
|
||||
;#
|
||||
proc Draw:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
|
@@ -52,10 +52,6 @@ proc FoundationClasses:depends { } {
|
||||
|
||||
;#
|
||||
;# Returns a list of exported features.
|
||||
;# source : Source files
|
||||
;# runtime: Shareables
|
||||
;# wokadm : WOK admin files
|
||||
;# api : Public include files
|
||||
;#
|
||||
proc FoundationClasses:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
|
@@ -50,10 +50,6 @@ proc ModelingAlgorithms:depends { } {
|
||||
|
||||
;#
|
||||
;# Returns a list of exported features.
|
||||
;# source : Source files
|
||||
;# runtime: Shareables
|
||||
;# wokadm : WOK admin files
|
||||
;# api : Public include files
|
||||
;#
|
||||
proc ModelingAlgorithms:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
|
@@ -42,10 +42,6 @@ proc ModelingData:depends { } {
|
||||
|
||||
;#
|
||||
;# Returns a list of exported features.
|
||||
;# source : Source files
|
||||
;# runtime: Shareables
|
||||
;# wokadm : WOK admin files
|
||||
;# api : Public include files
|
||||
;#
|
||||
proc ModelingData:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
|
41
src/OS/TApplicationFramework.tcl
Normal file
41
src/OS/TApplicationFramework.tcl
Normal file
@@ -0,0 +1,41 @@
|
||||
# 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 TApplicationFramework:toolkits { } {
|
||||
return [list TKTreeModel TKTInspectorAPI TKDFBrowser]
|
||||
}
|
||||
|
||||
# List of non-toolkits (resource units, executables etc., with associated info)
|
||||
proc TApplicationFramework:ressources { } {
|
||||
}
|
||||
|
||||
# Module name
|
||||
proc TApplicationFramework:name { } {
|
||||
return TApplicationFramework
|
||||
}
|
||||
|
||||
# And short alias
|
||||
proc TApplicationFramework:alias { } {
|
||||
return TApplicationFramework
|
||||
}
|
||||
|
||||
# Dependency on other products
|
||||
proc TApplicationFramework:depends { } {
|
||||
return [list ApplicationFramework FoundationClasses DataExchange TModelingData Visualization]
|
||||
}
|
||||
|
||||
# Returns a list of exported features.
|
||||
proc TApplicationFramework:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
}
|
41
src/OS/TModelingData.tcl
Normal file
41
src/OS/TModelingData.tcl
Normal file
@@ -0,0 +1,41 @@
|
||||
# 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 TModelingData:toolkits { } {
|
||||
return [list TKShapeView]
|
||||
}
|
||||
|
||||
# List of non-toolkits (resource units, executables etc., with associated info)
|
||||
proc TModelingData:ressources { } {
|
||||
}
|
||||
|
||||
# Module name
|
||||
proc TModelingData:name { } {
|
||||
return TModelingData
|
||||
}
|
||||
|
||||
# And short alias
|
||||
proc TModelingData:alias { } {
|
||||
return TModelingData
|
||||
}
|
||||
|
||||
# Dependency on other products
|
||||
proc TModelingData:depends { } {
|
||||
return [list FoundationClasses ModelingData TVisualization]
|
||||
}
|
||||
|
||||
# Returns a list of exported features.
|
||||
proc TModelingData:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
}
|
44
src/OS/TTool.tcl
Normal file
44
src/OS/TTool.tcl
Normal file
@@ -0,0 +1,44 @@
|
||||
# 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]
|
||||
}
|
41
src/OS/TVisualization.tcl
Normal file
41
src/OS/TVisualization.tcl
Normal file
@@ -0,0 +1,41 @@
|
||||
# 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 TVisualization:toolkits { } {
|
||||
return [list TKView TKVInspector]
|
||||
}
|
||||
|
||||
# List of non-toolkits (resource units, executables etc., with associated info)
|
||||
proc TVisualization:ressources { } {
|
||||
}
|
||||
|
||||
# Module name
|
||||
proc TVisualization:name { } {
|
||||
return TVisualization
|
||||
}
|
||||
|
||||
# And short alias
|
||||
proc TVisualization:alias { } {
|
||||
return TVisualization
|
||||
}
|
||||
|
||||
# Dependency on other products
|
||||
proc TVisualization:depends { } {
|
||||
return [list FoundationClasses]
|
||||
}
|
||||
|
||||
# Returns a list of exported features.
|
||||
proc TVisualization:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
}
|
24
src/OS/Tools.tcl
Normal file
24
src/OS/Tools.tcl
Normal file
@@ -0,0 +1,24 @@
|
||||
# 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.
|
||||
|
||||
;#
|
||||
;# Returns an ordered list of module names
|
||||
;#
|
||||
proc OS:Modules { {plat ""} } {
|
||||
set ret [list TModelingData \
|
||||
TVisualization \
|
||||
TApplicationFramework \
|
||||
TTool \
|
||||
]
|
||||
return $ret
|
||||
}
|
@@ -70,10 +70,6 @@ proc Visualization:acdepends { } {
|
||||
|
||||
;#
|
||||
;# Returns a list of exported features.
|
||||
;# source : Source files
|
||||
;# runtime: Shareables
|
||||
;# wokadm : WOK admin files
|
||||
;# api : Public include files
|
||||
;#
|
||||
proc Visualization:Export { } {
|
||||
return [list source runtime wokadm api]
|
||||
|
Reference in New Issue
Block a user