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
45de27ba
Commit
45de27ba
authored
Sep 21, 2013
by
Miguel Angel Ajo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Scripting build tools moved and renamed
parent
87e378c1
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
CMakeLists.txt
pcbnew/CMakeLists.txt
+5
-5
extract_docstrings.py
scripting/build_tools/extract_docstrings.py
+0
-0
fix_swig_imports.py
scripting/build_tools/fix_swig_imports.py
+0
-0
No files found.
pcbnew/CMakeLists.txt
View file @
45de27ba
...
@@ -312,7 +312,7 @@ if( KICAD_SCRIPTING )
...
@@ -312,7 +312,7 @@ if( KICAD_SCRIPTING )
COMMAND
${
CMAKE_COMMAND
}
-E touch
${
CMAKE_CURRENT_BINARY_DIR
}
/docstrings/docstrings.i
# this makes docstrings.i available if it doesn't exist
COMMAND
${
CMAKE_COMMAND
}
-E touch
${
CMAKE_CURRENT_BINARY_DIR
}
/docstrings/docstrings.i
# this makes docstrings.i available if it doesn't exist
COMMAND
${
SWIG_EXECUTABLE
}
${
SWIG_OPTS
}
-o
${
CMAKE_CURRENT_BINARY_DIR
}
/pcbnew_wrap.cxx scripting/pcbnew.i
COMMAND
${
SWIG_EXECUTABLE
}
${
SWIG_OPTS
}
-o
${
CMAKE_CURRENT_BINARY_DIR
}
/pcbnew_wrap.cxx scripting/pcbnew.i
COMMAND
${
PYTHON_EXECUTABLE
}
${
CMAKE_
CURRENT_SOURCE_DIR
}
/../scripting/fixswig
imports.py
${
CMAKE_CURRENT_BINARY_DIR
}
/pcbnew.py
COMMAND
${
PYTHON_EXECUTABLE
}
${
CMAKE_
SOURCE_DIR
}
/scripting/build_tools/fix_swig_
imports.py
${
CMAKE_CURRENT_BINARY_DIR
}
/pcbnew.py
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
WORKING_DIRECTORY
${
CMAKE_CURRENT_SOURCE_DIR
}
)
)
...
@@ -372,9 +372,9 @@ if( DOXYGEN_FOUND )
...
@@ -372,9 +372,9 @@ if( DOXYGEN_FOUND )
add_custom_target
(
xml-to-docstrings
add_custom_target
(
xml-to-docstrings
COMMAND
${
CMAKE_COMMAND
}
-E remove_directory docstrings
COMMAND
${
CMAKE_COMMAND
}
-E remove_directory docstrings
COMMAND
${
CMAKE_COMMAND
}
-E make_directory docstrings
COMMAND
${
CMAKE_COMMAND
}
-E make_directory docstrings
COMMAND
${
PYTHON_EXECUTABLE
}
${
CMAKE_SOURCE_DIR
}
/scripting/
extract-
docstrings.py pcbnew.py doxygen-xml/xml docstrings
COMMAND
${
PYTHON_EXECUTABLE
}
${
CMAKE_SOURCE_DIR
}
/scripting/
build_tools/extract_
docstrings.py pcbnew.py doxygen-xml/xml docstrings
COMMAND
${
CMAKE_COMMAND
}
-E remove pcbnew.py
# force removal so it will be recreated later
COMMAND
${
CMAKE_COMMAND
}
-E remove pcbnew.py
# force removal so it will be recreated later
with the new docstrings
COMMENT
"building docstring files"
COMMENT
"building docstring files"
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
WORKING_DIRECTORY
${
CMAKE_CURRENT_BINARY_DIR
}
DEPENDS pcbnew.py
DEPENDS pcbnew.py
...
@@ -515,7 +515,7 @@ install( TARGETS pcbnew
...
@@ -515,7 +515,7 @@ install( TARGETS pcbnew
if
(
KICAD_SCRIPTING
)
if
(
KICAD_SCRIPTING
)
add_custom_target
(
FixSwigImportsScripting ALL
add_custom_target
(
FixSwigImportsScripting ALL
COMMAND
${
PYTHON_EXECUTABLE
}
${
CMAKE_
CURRENT_SOURCE_DIR
}
/../scripting/fixswig
imports.py
${
CMAKE_CURRENT_BINARY_DIR
}
/pcbnew.py
COMMAND
${
PYTHON_EXECUTABLE
}
${
CMAKE_
SOURCE_DIR
}
/scripting/build_tools/fix_swig_
imports.py
${
CMAKE_CURRENT_BINARY_DIR
}
/pcbnew.py
DEPENDS pcbnew
DEPENDS pcbnew
COMMENT
"Fixing swig_import_helper in Kicad scripting"
COMMENT
"Fixing swig_import_helper in Kicad scripting"
)
)
...
@@ -525,7 +525,7 @@ endif()
...
@@ -525,7 +525,7 @@ endif()
if
(
KICAD_SCRIPTING_MODULES
)
if
(
KICAD_SCRIPTING_MODULES
)
add_custom_target
(
FixSwigImportsModuleScripting ALL
add_custom_target
(
FixSwigImportsModuleScripting ALL
COMMAND
${
PYTHON_EXECUTABLE
}
${
CMAKE_
CURRENT_SOURCE_DIR
}
/../scripting/fixswig
imports.py
${
CMAKE_CURRENT_BINARY_DIR
}
/pcbnew.py
COMMAND
${
PYTHON_EXECUTABLE
}
${
CMAKE_
SOURCE_DIR
}
/scripting/build_tools/fix_swig_
imports.py
${
CMAKE_CURRENT_BINARY_DIR
}
/pcbnew.py
DEPENDS _pcbnew
DEPENDS _pcbnew
COMMENT
"Fixing swig_import_helper in Kicad scripting modules"
COMMENT
"Fixing swig_import_helper in Kicad scripting modules"
)
)
...
...
scripting/
extract-
docstrings.py
→
scripting/
build_tools/extract_
docstrings.py
View file @
45de27ba
File moved
scripting/
fixswig
imports.py
→
scripting/
build_tools/fix_swig_
imports.py
View file @
45de27ba
File moved
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