Commit 61411121 by lvzhengyang

move Exception.i

parent aff051ea
...@@ -17,6 +17,7 @@ swig_lib(NAME minieda_swig ...@@ -17,6 +17,7 @@ swig_lib(NAME minieda_swig
NAMESPACE eda NAMESPACE eda
I_FILE MiniEda.i I_FILE MiniEda.i
SCRIPTS MiniEda.tcl SCRIPTS MiniEda.tcl
SWIG_INCLUDES ${MINIEDA_HOME}/src/utl
) )
target_link_libraries(minieda_swig target_link_libraries(minieda_swig
......
...@@ -44,7 +44,7 @@ using eda::getDb; ...@@ -44,7 +44,7 @@ using eda::getDb;
//////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////
#ifdef SWIGTCL #ifdef SWIGTCL
%include "../Exception.i" // %include "../Exception.i"
// %typemap(in) utl::ToolId { // %typemap(in) utl::ToolId {
// int length; // int length;
......
#### MiniEDA NOTE ####
#### DEPRECATE THIS FILE ####
sta::define_cmd_args "create_physical_cluster" {cluster_name} sta::define_cmd_args "create_physical_cluster" {cluster_name}
......
...@@ -5,6 +5,7 @@ swig_lib(NAME odbtcl ...@@ -5,6 +5,7 @@ swig_lib(NAME odbtcl
I_FILE ../common/odb.i I_FILE ../common/odb.i
SWIG_INCLUDES ${PROJECT_SOURCE_DIR}/include SWIG_INCLUDES ${PROJECT_SOURCE_DIR}/include
${PROJECT_SOURCE_DIR}/src/swig/tcl ${PROJECT_SOURCE_DIR}/src/swig/tcl
${MINIEDA_HOME}/src/utl
) )
target_include_directories(odbtcl target_include_directories(odbtcl
......
%include "../../../../Exception.i" // %include "../../../../Exception.i"
%typemap(out) odb::dbOrientType, dbOrientType { %typemap(out) odb::dbOrientType, dbOrientType {
Tcl_Obj *obj = nullptr; Tcl_Obj *obj = nullptr;
......
...@@ -18,7 +18,8 @@ include("swig_lib") ...@@ -18,7 +18,8 @@ include("swig_lib")
swig_lib(NAME utl swig_lib(NAME utl
NAMESPACE utl NAMESPACE utl
I_FILE src/Logger.i I_FILE src/Logger.i
SCRIPTS Util.tcl SCRIPTS src/Util.tcl
SWIG_INCLUDES ${MINIEDA_HOME}/src/utl
) )
target_sources(utl target_sources(utl
......
...@@ -55,7 +55,7 @@ using eda::getLogger; ...@@ -55,7 +55,7 @@ using eda::getLogger;
} }
// Catch exceptions in inline functions. // Catch exceptions in inline functions.
%include "../../Exception.i" // %include "../../Exception.i"
%inline %{ %inline %{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment