mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-25 05:20:34 +05:00
* Simpler external application loading
* Library loading done in application TCL * ng.tcl only sources application TCL script file
This commit is contained in:
parent
24ec58f024
commit
b76accefbd
@ -293,10 +293,8 @@ if { [catch { load libngsolve[info sharedlibextension] ngsolve } result ] } {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if { [catch { load libdemoapp[info sharedlibextension] demoapp } result ] } {
|
if { [catch { source ${ngdir}/demoapp.tcl } result ] } {
|
||||||
# puts "cannot load demoapp"
|
# puts "cannot load demoapp"
|
||||||
# puts "error: $result"
|
# puts "error: $result"
|
||||||
} {
|
|
||||||
catch { source ${ngdir}/demoapp.tcl }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user