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
cbea44a6
Commit
cbea44a6
authored
Dec 30, 2007
by
f3nix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix CMake build.
* Add polygon library.
parent
e126042b
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
21 additions
and
11 deletions
+21
-11
CMakeLists.txt
3d-viewer/CMakeLists.txt
+3
-1
CMakeLists.txt
CMakeLists.txt
+1
-0
CMakeLists.txt
cvpcb/CMakeLists.txt
+4
-4
CMakeLists.txt
gerbview/CMakeLists.txt
+2
-2
CMakeLists.txt
pcbnew/CMakeLists.txt
+1
-3
tracepcb.cpp
pcbnew/tracepcb.cpp
+1
-1
CMakeLists.txt
polygon/CMakeLists.txt
+9
-0
No files found.
3d-viewer/CMakeLists.txt
View file @
cbea44a6
ADD_DEFINITIONS
(
-DPCBNEW
)
INCLUDE_DIRECTORIES
(
../pcbnew ../polygon
)
INCLUDE_DIRECTORIES
(
../pcbnew
../polygon
)
SET
(
3D-VIEWER_SRCS
3d_aux.cpp
...
...
CMakeLists.txt
View file @
cbea44a6
...
...
@@ -78,6 +78,7 @@ IF(wxWidgets_FOUND)
ADD_SUBDIRECTORY
(
gerbview
)
ADD_SUBDIRECTORY
(
kicad
)
ADD_SUBDIRECTORY
(
pcbnew
)
ADD_SUBDIRECTORY
(
polygon
)
ELSE
(
wxWidgets_FOUND
)
# For convenience. When we cannot continue, inform the user.
MESSAGE
(
STATUS
"Check for installed wxWidgets -- not found"
)
...
...
cvpcb/CMakeLists.txt
View file @
cbea44a6
...
...
@@ -4,8 +4,8 @@ INCLUDE_DIRECTORIES(
${
CMAKE_CURRENT_SOURCE_DIR
}
bitmaps
../3d-viewer
../p
olygon
../p
cbnew
)
../p
cbnew
../p
olygon
)
SET
(
CVPCB_SRCS
autosel.cpp
...
...
@@ -36,7 +36,6 @@ SET(CVPCB_SRCS
SET
(
CVPCB_EXTRA_SRCS
../pcbnew/basepcbframe.cpp
../pcbnew/class_board.cpp
../pcbnew/class_zone.cpp
../pcbnew/class_cotation.cpp
../pcbnew/class_edge_mod.cpp
../pcbnew/class_equipot.cpp
...
...
@@ -46,6 +45,7 @@ SET(CVPCB_EXTRA_SRCS
../pcbnew/class_pcb_text.cpp
../pcbnew/class_text_mod.cpp
../pcbnew/class_track.cpp
../pcbnew/class_zone.cpp
../pcbnew/classpcb.cpp
../pcbnew/collectors.cpp
../pcbnew/ioascii.cpp
...
...
@@ -74,6 +74,6 @@ ENDIF(APPLE)
ADD_EXECUTABLE
(
cvpcb WIN32 MACOSX_BUNDLE
${
CVPCB_SRCS
}
${
CVPCB_EXTRA_SRCS
}
${
CVPCB_RESOURCES
}
)
TARGET_LINK_LIBRARIES
(
cvpcb common 3d-viewer
${
wxWidgets_LIBRARIES
}
)
TARGET_LINK_LIBRARIES
(
cvpcb common 3d-viewer
polygon
${
wxWidgets_LIBRARIES
}
)
INSTALL
(
TARGETS cvpcb RUNTIME DESTINATION
${
KICAD_BIN
}
)
gerbview/CMakeLists.txt
View file @
cbea44a6
...
...
@@ -42,11 +42,11 @@ SET(GERBVIEW_SRCS
SET
(
GERBVIEW_EXTRA_SRCS
../pcbnew/basepcbframe.cpp
../pcbnew/class_board.cpp
../pcbnew/class_zone.cpp
../pcbnew/class_drc_item.cpp
../pcbnew/class_marker.cpp
../pcbnew/class_pcb_text.cpp
../pcbnew/class_track.cpp
../pcbnew/class_zone.cpp
../pcbnew/classpcb.cpp
../pcbnew/collectors.cpp
../pcbnew/sel_layer.cpp
...
...
@@ -76,6 +76,6 @@ ENDIF(APPLE)
ADD_EXECUTABLE
(
gerbview WIN32 MACOSX_BUNDLE
${
GERBVIEW_SRCS
}
${
GERBVIEW_EXTRA_SRCS
}
${
GERBVIEW_RESOURCES
}
)
TARGET_LINK_LIBRARIES
(
gerbview common 3d-viewer
lib_
polygon
${
wxWidgets_LIBRARIES
}
)
TARGET_LINK_LIBRARIES
(
gerbview common 3d-viewer polygon
${
wxWidgets_LIBRARIES
}
)
INSTALL
(
TARGETS gerbview RUNTIME DESTINATION
${
KICAD_BIN
}
)
pcbnew/CMakeLists.txt
View file @
cbea44a6
...
...
@@ -139,8 +139,6 @@ SET(PCBNEW_SRCS
)
SET
(
PCBNEW_EXTRA_SRCS
# ../polygon/PolyLine.cpp
../share/drawframe.cpp
../share/drawpanel.cpp
../share/infospgm.cpp
...
...
@@ -176,6 +174,6 @@ ADD_EXECUTABLE(specctra_test EXCLUDE_FROM_ALL specctra.cpp)
TARGET_LINK_LIBRARIES
(
specctra_test common
${
wxWidgets_LIBRARIES
}
)
TARGET_LINK_LIBRARIES
(
pcbnew common 3d-viewer
${
wxWidgets_LIBRARIES
}
)
TARGET_LINK_LIBRARIES
(
pcbnew common 3d-viewer
polygon
${
wxWidgets_LIBRARIES
}
)
INSTALL
(
TARGETS pcbnew RUNTIME DESTINATION
${
KICAD_BIN
}
)
pcbnew/tracepcb.cpp
View file @
cbea44a6
...
...
@@ -8,7 +8,7 @@
* Routines d'affichage grille, Boite de coordonnees, Curseurs, marqueurs ...
*/
#include <vector
.h
>
#include <vector>
#include "fctsys.h"
#include "gr_basic.h"
...
...
polygon/CMakeLists.txt
0 → 100644
View file @
cbea44a6
SET
(
POLYGON_SRCS
cdisplaylist_stuff.cpp
GenericPolygonClipperLibrary.cpp
math_for_graphics.cpp
php_polygon.cpp
php_polygon_vertex.cpp
PolyLine.cpp
)
ADD_LIBRARY
(
polygon
${
POLYGON_SRCS
}
)
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