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
c77e62eb
Commit
c77e62eb
authored
Jun 21, 2008
by
f3nix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Windows build with CMake 2.4.
parent
c95f2647
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
46 additions
and
13 deletions
+46
-13
CMakeLists.txt
CMakeLists.txt
+5
-1
CMakeLists.txt
cvpcb/CMakeLists.txt
+8
-2
CMakeLists.txt
eeschema/CMakeLists.txt
+8
-2
CMakeLists.txt
gerbview/CMakeLists.txt
+8
-2
CMakeLists.txt
kicad/CMakeLists.txt
+9
-4
CMakeLists.txt
pcbnew/CMakeLists.txt
+8
-2
No files found.
CMakeLists.txt
View file @
c77e62eb
project
(
kicad
)
cmake_minimum_required
(
VERSION 2.4.6 FATAL_ERROR
)
if
(
NOT APPLE
)
cmake_minimum_required
(
VERSION 2.4.6 FATAL_ERROR
)
else
(
NOT APPLE
)
cmake_minimum_required
(
VERSION 2.6.0 FATAL_ERROR
)
endif
(
NOT APPLE
)
# Path to local CMake modules.
set
(
CMAKE_MODULE_PATH
${
PROJECT_SOURCE_DIR
}
/CMakeModules
)
...
...
cvpcb/CMakeLists.txt
View file @
c77e62eb
...
...
@@ -78,7 +78,13 @@ add_executable(cvpcb WIN32 MACOSX_BUNDLE ${CVPCB_SRCS} ${CVPCB_EXTRA_SRCS} ${CVP
target_link_libraries
(
cvpcb 3d-viewer common polygon kbool bitmaps
${
wxWidgets_LIBRARIES
}
${
OPENGL_LIBRARIES
}
)
install
(
TARGETS cvpcb
if
(
NOT APPLE
)
install
(
TARGETS cvpcb
RUNTIME DESTINATION
${
KICAD_BIN
}
COMPONENT binary
)
else
(
NOT APPLE
)
install
(
TARGETS cvpcb
RUNTIME DESTINATION
${
KICAD_BIN
}
BUNDLE DESTINATION
${
KICAD_BIN
}
COMPONENT binary
)
endif
(
NOT APPLE
)
eeschema/CMakeLists.txt
View file @
c77e62eb
...
...
@@ -124,9 +124,15 @@ add_executable(eeschema WIN32 MACOSX_BUNDLE ${EESCHEMA_SRCS} ${EESCHEMA_EXTRA_SR
target_link_libraries
(
eeschema common bitmaps
${
wxWidgets_LIBRARIES
}
)
install
(
TARGETS eeschema
if
(
NOT APPLE
)
install
(
TARGETS eeschema
RUNTIME DESTINATION
${
KICAD_BIN
}
COMPONENT binary
)
else
(
NOT APPLE
)
install
(
TARGETS eeschema
RUNTIME DESTINATION
${
KICAD_BIN
}
BUNDLE DESTINATION
${
KICAD_BIN
}
COMPONENT binary
)
endif
(
NOT APPLE
)
add_subdirectory
(
plugins
)
gerbview/CMakeLists.txt
View file @
c77e62eb
...
...
@@ -81,7 +81,13 @@ add_executable(gerbview WIN32 MACOSX_BUNDLE ${GERBVIEW_SRCS} ${GERBVIEW_EXTRA_SR
target_link_libraries
(
gerbview 3d-viewer common polygon kbool bitmaps
${
wxWidgets_LIBRARIES
}
)
install
(
TARGETS gerbview
if
(
NOT APPLE
)
install
(
TARGETS gerbview
RUNTIME DESTINATION
${
KICAD_BIN
}
COMPONENT binary
)
else
(
NOT APPLE
)
install
(
TARGETS gerbview
RUNTIME DESTINATION
${
KICAD_BIN
}
BUNDLE DESTINATION
${
KICAD_BIN
}
COMPONENT binary
)
endif
(
NOT APPLE
)
kicad/CMakeLists.txt
View file @
c77e62eb
...
...
@@ -29,15 +29,20 @@ if(APPLE)
set
(
MACOSX_BUNDLE_NAME kicad
)
endif
(
APPLE
)
add_executable
(
kicad WIN32 MACOSX_BUNDLE
${
KICAD_SRCS
}
${
KICAD_EXTRA_SRCS
}
${
KICAD_RESOURCES
}
)
add_executable
(
kicad WIN32 MACOSX_BUNDLE
${
KICAD_SRCS
}
${
KICAD_EXTRA_SRCS
}
${
KICAD_RESOURCES
}
)
target_link_libraries
(
kicad common bitmaps
${
wxWidgets_LIBRARIES
}
)
install
(
TARGETS kicad
if
(
NOT APPLE
)
install
(
TARGETS kicad
RUNTIME DESTINATION
${
KICAD_BIN
}
COMPONENT binary
)
else
(
NOT APPLE
)
install
(
TARGETS kicad
RUNTIME DESTINATION
${
KICAD_BIN
}
BUNDLE DESTINATION
${
KICAD_BIN
}
COMPONENT binary
)
endif
(
NOT APPLE
)
if
(
KICAD_MINIZIP
)
add_subdirectory
(
minizip
)
...
...
pcbnew/CMakeLists.txt
View file @
c77e62eb
...
...
@@ -170,10 +170,16 @@ add_executable(pcbnew WIN32 MACOSX_BUNDLE ${PCBNEW_SRCS} ${PCBNEW_EXTRA_SRCS} ${
target_link_libraries
(
pcbnew 3d-viewer common polygon kbool bitmaps
${
wxWidgets_LIBRARIES
}
${
OPENGL_LIBRARIES
}
)
install
(
TARGETS pcbnew
if
(
NOT APPLE
)
install
(
TARGETS pcbnew
RUNTIME DESTINATION
${
KICAD_BIN
}
COMPONENT binary
)
else
(
NOT APPLE
)
install
(
TARGETS pcbnew
RUNTIME DESTINATION
${
KICAD_BIN
}
BUNDLE DESTINATION
${
KICAD_BIN
}
COMPONENT binary
)
endif
(
NOT APPLE
)
# This one gets made only when testing.
...
...
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