Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kicad-source-mirror
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Elphel
kicad-source-mirror
Commits
cd93e14d
Commit
cd93e14d
authored
Mar 19, 2012
by
Miguel Angel Ajo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed DEBUG build dependency...
parent
9ebe983e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
3 deletions
+9
-3
CMakeLists.txt
pcbnew/CMakeLists.txt
+4
-2
kicad.i
scripting/kicad.i
+5
-1
No files found.
pcbnew/CMakeLists.txt
View file @
cd93e14d
...
@@ -250,8 +250,10 @@ endif()
...
@@ -250,8 +250,10 @@ endif()
if
(
KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES
)
if
(
KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES
)
set
(
SWIG_FLAGS -I
${
CMAKE_CURRENT_SOURCE_DIR
}
/../.. -I
${
CMAKE_CURRENT_SOURCE_DIR
}
-I
${
CMAKE_CURRENT_SOURCE_DIR
}
/../include -I
${
CMAKE_CURRENT_SOURCE_DIR
}
/../scripting -DDEBUG
)
set
(
SWIG_FLAGS -I
${
CMAKE_CURRENT_SOURCE_DIR
}
/../.. -I
${
CMAKE_CURRENT_SOURCE_DIR
}
-I
${
CMAKE_CURRENT_SOURCE_DIR
}
/../include -I
${
CMAKE_CURRENT_SOURCE_DIR
}
/../scripting
)
if
(
DEBUG
)
set
(
SWIG_FLAGS
${
SWIG_FLAGS
}
-DDEBUG
)
endif
()
# collect CFLAGS , and pass them to swig later
# collect CFLAGS , and pass them to swig later
get_directory_property
(
DirDefs DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
COMPILE_DEFINITIONS
)
get_directory_property
(
DirDefs DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
COMPILE_DEFINITIONS
)
...
...
scripting/kicad.i
View file @
cd93e14d
...
@@ -36,8 +36,12 @@
...
@@ -36,8 +36,12 @@
%include <std_vector.i>
%include <std_vector.i>
%include <std_string.i>
%include <std_string.i>
%nodefaultctor EDA_ITEM;
/* ignore some constructors of EDA_ITEM that will make the build fail */
%nodefaultctor EDA_ITEM;
%ignore EDA_ITEM::EDA_ITEM( EDA_ITEM* parent, KICAD_T idType );
%ignore EDA_ITEM::EDA_ITEM( KICAD_T idType );
%ignore EDA_ITEM::EDA_ITEM( const EDA_ITEM& base );
/* swig tries to wrap SetBack/SetNext on derived classes, but this method is
/* swig tries to wrap SetBack/SetNext on derived classes, but this method is
private for most childs, so if we don't ignore it it won't compile */
private for most childs, so if we don't ignore it it won't compile */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment