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
70ce6d28
Commit
70ce6d28
authored
May 29, 2014
by
jean-pierre charras
Browse files
Options
Browse Files
Download
Plain Diff
Idf tools: Minor change for OSX compatibility (some from a patch from stegmaier@sw-systems.de)
parents
771ac33c
3af4bf66
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
13 deletions
+8
-13
CMakeLists.txt
utils/idftools/CMakeLists.txt
+1
-8
vrml_layer.cpp
utils/idftools/vrml_layer.cpp
+0
-2
vrml_layer.h
utils/idftools/vrml_layer.h
+7
-3
No files found.
utils/idftools/CMakeLists.txt
View file @
70ce6d28
...
...
@@ -18,14 +18,7 @@ add_executable( idf2vrml idf2vrml.cpp )
target_link_libraries
(
dxf2idf lib_dxf idf3
${
wxWidgets_LIBRARIES
}
)
if
(
WIN32
)
set
(
LIB_GLU glu32
)
else
()
set
(
LIB_GLU GLU
)
endif
()
target_link_libraries
(
idf2vrml idf3
${
LIB_GLU
}
${
wxWidgets_LIBRARIES
}
)
target_link_libraries
(
idf2vrml idf3
${
OPENGL_LIBRARIES
}
${
wxWidgets_LIBRARIES
}
)
install
(
TARGETS idfcyl idfrect dxf2idf idf2vrml
DESTINATION
${
KICAD_BIN
}
...
...
utils/idftools/vrml_layer.cpp
View file @
70ce6d28
...
...
@@ -40,8 +40,6 @@
#include <cmath>
#include <vrml_layer.h>
#include <wx/glcanvas.h> // CALLBACK definition, needed on Windows
#ifndef CALLBACK
#define CALLBACK
#endif
...
...
utils/idftools/vrml_layer.h
View file @
70ce6d28
...
...
@@ -32,8 +32,12 @@
* PCB for VRML output.
*/
#ifndef VRML_BOARD_H
#define VRML_BOARD_H
#ifndef VRML_LAYER_H
#define VRML_LAYER_H
#include <wx/glcanvas.h> // CALLBACK definition, needed on Windows
// alse needed on OSX to define __DARWIN__
#ifdef __WXMAC__
# ifdef __DARWIN__
...
...
@@ -426,4 +430,4 @@ public:
const
std
::
string
&
GetError
(
void
);
};
#endif // VRML_
BOARD
_H
#endif // VRML_
LAYER
_H
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