* Simpler external application loading

* Library loading done in application TCL
* ng.tcl only sources application TCL script file
This commit is contained in:
Philippose Rajan 2009-04-05 18:33:32 +00:00
parent 24ec58f024
commit b76accefbd

View File

@ -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 "error: $result"
} {
catch { source ${ngdir}/demoapp.tcl }
}