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
a9ab8243
Commit
a9ab8243
authored
Oct 09, 2014
by
Bernhard Stegmaier
Committed by
Wayne Stambaugh
Oct 09, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix OSX wxPython scripting build when running parallel builds.
parent
ef2337ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
CMakeLists.txt
pcbnew/CMakeLists.txt
+6
-3
No files found.
pcbnew/CMakeLists.txt
View file @
a9ab8243
...
...
@@ -689,10 +689,11 @@ if( KICAD_SCRIPTING )
else
()
# put into bundle at build time, it is relocated at install
add_custom_target
(
ScriptingPcbnewPyCopy ALL
COMMAND
${
CMAKE_COMMAND
}
-E copy
"
${
CMAKE_BINARY_DIR
}
/pcbnew/pcbnew.py"
"
${
PYTHON_DEST
}
"
COMMAND
${
CMAKE_COMMAND
}
-E copy
"
${
CMAKE_BINARY_DIR
}
/pcbnew/pcbnew.py"
"
${
PYTHON_DEST
}
/
"
DEPENDS
${
CMAKE_CURRENT_BINARY_DIR
}
/pcbnew.py
COMMENT
"Copying pcbnew.py into
${
PYTHON_DEST
}
"
)
add_dependencies
(
ScriptingPcbnewPyCopy ScriptingWxpythonCopy
)
# scripting plugins
install
(
DIRECTORY
${
PROJECT_SOURCE_DIR
}
/pcbnew/scripting/plugins/
DESTINATION
${
KICAD_DATA
}
/scripting/plugins
...
...
@@ -713,10 +714,11 @@ if( KICAD_SCRIPTING_MODULES )
else
()
# put everything into bundle at build time, it is relocated at install
add_custom_target
(
ScriptingModulesPcbnewPyCopy ALL
COMMAND
${
CMAKE_COMMAND
}
-E copy
"
${
CMAKE_BINARY_DIR
}
/pcbnew/pcbnew.py"
"
${
PYTHON_DEST
}
"
COMMAND
${
CMAKE_COMMAND
}
-E copy
"
${
CMAKE_BINARY_DIR
}
/pcbnew/pcbnew.py"
"
${
PYTHON_DEST
}
/
"
DEPENDS FixSwigImportsModuleScripting
COMMENT
"Copying pcbnew.py into
${
PYTHON_DEST
}
"
)
add_dependencies
(
ScriptingModulesPcbnewPyCopy ScriptingWxpythonCopy
)
endif
()
if
(
MINGW
)
...
...
@@ -724,10 +726,11 @@ if( KICAD_SCRIPTING_MODULES )
elseif
(
APPLE
)
# put everything into bundle at build time, it is relocated at install
add_custom_target
(
ScriptingModulesPcbnewSoCopy ALL
COMMAND
${
CMAKE_COMMAND
}
-E copy
"
${
CMAKE_BINARY_DIR
}
/pcbnew/_pcbnew.so"
"
${
PYTHON_DEST
}
"
COMMAND
${
CMAKE_COMMAND
}
-E copy
"
${
CMAKE_BINARY_DIR
}
/pcbnew/_pcbnew.so"
"
${
PYTHON_DEST
}
/
"
DEPENDS _pcbnew
COMMENT
"Copying _pcbnew.so into
${
PYTHON_DEST
}
"
)
add_dependencies
(
ScriptingModulesPcbnewSoCopy ScriptingWxpythonCopy
)
else
()
install
(
FILES
${
CMAKE_BINARY_DIR
}
/pcbnew/_pcbnew.so DESTINATION
${
PYTHON_DEST
}
)
endif
()
...
...
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