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
fcd17a59
Commit
fcd17a59
authored
Feb 17, 2014
by
Marco Serantoni
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[MacOSX] Fix some small issues, this should be the least for scripting
parent
9b1eb354
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
CMakeLists.txt
pcbnew/CMakeLists.txt
+4
-4
No files found.
pcbnew/CMakeLists.txt
View file @
fcd17a59
...
@@ -597,13 +597,13 @@ if( KICAD_SCRIPTING )
...
@@ -597,13 +597,13 @@ if( KICAD_SCRIPTING )
if
(
APPLE
)
if
(
APPLE
)
# copies all into PYTHON_DEST then all into the bundle !
# copies all into PYTHON_DEST then all into the bundle !
add_custom_target
(
_pcbnew_py_copy ALL
add_custom_target
(
_pcbnew_py_copy 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
}
/wx-3.0-osx_cocoa/
"
DEPENDS FixSwigImportsScripting
DEPENDS FixSwigImportsScripting
COMMENT
"Copying pcbnew.py into PYTHON_DEST"
COMMENT
"Copying pcbnew.py into PYTHON_DEST
/wx-3.0-osx_cocoa/
"
)
)
add_custom_target
(
pcbnew_copy_wxpython_scripting ALL
add_custom_target
(
pcbnew_copy_wxpython_scripting ALL
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
LIBWXPYTHON_ROOT
}
/wxPython
${
CMAKE_SOURCE_DIR
}
/pcbnew/pcbnew.app/Contents/Frameworks/wxPython
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
LIBWXPYTHON_ROOT
}
/wxPython
/
${
CMAKE_SOURCE_DIR
}
/pcbnew/pcbnew.app/Contents/Frameworks/wxPython/
DEPENDS FixSwigImportsScripting _pcbnew_py_copy
DEPENDS FixSwigImportsScripting _pcbnew_py_copy
COMMENT
"Copying wxPython into pcbnew.app Framework"
COMMENT
"Copying wxPython into pcbnew.app Framework"
)
)
...
@@ -643,7 +643,7 @@ if( KICAD_SCRIPTING_MODULES )
...
@@ -643,7 +643,7 @@ if( KICAD_SCRIPTING_MODULES )
)
)
add_custom_target
(
pcbnew_copy_wxpython_module ALL
add_custom_target
(
pcbnew_copy_wxpython_module ALL
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
LIBWXPYTHON_ROOT
}
/wxPython
${
PROJECT_SOURCE_DIR
}
/pcbnew/pcbnew.app/Contents/Frameworks/wxPython
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
${
LIBWXPYTHON_ROOT
}
/wxPython
/
${
PROJECT_SOURCE_DIR
}
/pcbnew/pcbnew.app/Contents/Frameworks/wxPython/
DEPENDS FixSwigImportsModuleScripting _pcbnew_so_copy
DEPENDS FixSwigImportsModuleScripting _pcbnew_so_copy
COMMENT
"Copying wxPython into pcbnew.app Frameworks"
COMMENT
"Copying wxPython into pcbnew.app Frameworks"
)
)
...
...
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