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
0fedf6b3
Commit
0fedf6b3
authored
Jan 10, 2013
by
Miguel Angel Ajo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MacOSX compilation fixes
parent
4cb0cf64
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
5 deletions
+18
-5
static_move_ptr.hpp
include/boost/ptr_container/detail/static_move_ptr.hpp
+5
-0
CMakeLists.txt
pcbnew/CMakeLists.txt
+13
-5
No files found.
include/boost/ptr_container/detail/static_move_ptr.hpp
View file @
0fedf6b3
...
...
@@ -32,6 +32,11 @@
#pragma warning(disable:4521) // Multiple copy constuctors.
#endif
#ifdef __APPLE__
// this fixes some already defined "check" in MacOSX headers
#undef check
#endif
namespace
boost
{
namespace
ptr_container_detail
{
...
...
pcbnew/CMakeLists.txt
View file @
0fedf6b3
...
...
@@ -331,9 +331,9 @@ if (KICAD_SCRIPTING_MODULES)
endif
(
KICAD_SCRIPTING_MODULES
)
if
((
KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES
)
AND NOT WIN32
)
if
((
KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES
)
AND NOT WIN32
AND NOT APPLE
)
set
(
PCBNEW_EXTRA_LIBS
"rt"
)
endif
((
KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES
)
AND NOT WIN32
)
endif
((
KICAD_SCRIPTING OR KICAD_SCRIPTING_MODULES
)
AND NOT WIN32
AND NOT APPLE
)
###
...
...
@@ -430,11 +430,19 @@ target_link_libraries(pcbnew
install
(
TARGETS pcbnew
DESTINATION
${
KICAD_BIN
}
COMPONENT binary
)
if
(
WIN32
)
set
(
FINAL_EXE,pcbnew.exe
)
elseif
(
APPLE
)
set
(
FINAL_EXE,pcbnew.app/Contents/MacOS/pcbnew
)
else
()
set
(
FINAL_EXE,pcbnew
)
endif
(
WIN32
)
if
(
KICAD_SCRIPTING
)
add_custom_target
(
FixSwigImportsScripting ALL
COMMAND
${
PYTHON_EXECUTABLE
}
${
CMAKE_CURRENT_SOURCE_DIR
}
/../scripting/fixswigimports.py
${
CMAKE_CURRENT_BINARY_DIR
}
/pcbnew.py
DEPENDS
${
CMAKE_CURRENT_BINARY_DIR
}
/pcbnew
add_custom_target
(
FixSwigImportsScripting ALL
${
CMAKE_CURRENT_SOURCE_DIR
}
/../scripting/fixswigimports.py
${
CMAKE_CURRENT_BINARY_DIR
}
/pcbnew.py
DEPENDS
${
CMAKE_CURRENT_BINARY_DIR
}
/
${
FINAL_EXE
}
COMMENT
"Fixing swig_import_helper in Kicad scripting"
)
...
...
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