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
bfc705ed
Commit
bfc705ed
authored
Mar 12, 2008
by
f3nix
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move list of useful CMake variables from CMakeLists.txt to how-to-build-kicad.txt
parent
24a6c34a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
28 deletions
+30
-28
CMakeLists.txt
CMakeLists.txt
+0
-25
how-to-build-kicad.txt
how-to-build-kicad.txt
+30
-3
No files found.
CMakeLists.txt
View file @
bfc705ed
# List of variables that may be set from command line:
#
# CMAKE_BUILD_TYPE Release/Debug (REQUIRED)
# Choose build type: Release/Debug
#
# wxWidgets_USE_DEBUG ON/OFF (REQUIRED)
# Should be set to ON only when CMAKE_BUILD_TYPE=Debug.
#
# wxWidgets_USE_STATIC ON/OFF (OPTIONAL)
#
#
# CMAKE_VERBOSE_MAKEFILE ON/OFF (OPTIONAL)
# Turns ON/OFF verbose build messages.
# You can also pass VERBOSE=1 to make for the same effect.
#
# CMAKE_INSTALL_PREFIX (OPTIONAL)
#
#
# KICAD_MINIZIP ON/OFF
#
#
# KICAD_PYTHON ON/OFF
#
#
# Our project is called 'kicad'. This is what it will be called in
# our makefiles.
project
(
kicad
)
...
...
how-to-build-kicad.txt
View file @
bfc705ed
--== How to build kicad using CMAKE ==--
First Written: 19-Dec-2007
Last Revised: 1
1
-Mar-2008
Last Revised: 1
2
-Mar-2008
Kicad needs wxWidgets, the multi platform G.U.I.
...
...
@@ -20,6 +20,7 @@ sections below.)
9) Use cmake to build the kicad makefiles.
10) Use make to build and install kicad.
11) Making a "Debug" build.
12) Variables for fine-tuning the build process.
===== Step Details ====================================================
...
...
@@ -87,7 +88,6 @@ development versions of the wxWidgets packages which include the C++ headers. An
alternative is to build static libaries from source. Verify that wx-config is in
your path by running it from a command prompt. Linux users then go to next step.
-----------------------------------------------------------------------------
5) Install zlib [and build it if on windows].
...
...
@@ -145,7 +145,6 @@ instead of installing boost using your package manager, you should use the svn
HEAD copy which overcomes the gcc 4.2 incompatibility, specifically with
<boost/ptr_container/ptr_vector.hpp>.
-----------------------------------------------------------------------------
8) Install the kicad source tree.
...
...
@@ -219,6 +218,34 @@ Make the Debug binaries:
-----------------------------------------------------------------------------
12) Variables for fine-tuning the build process.
These should be set from command line:
CMAKE_BUILD_TYPE Release/Debug (REQUIRED)
Choose build type: Release/Debug.
wxWidgets_USE_DEBUG ON/OFF (REQUIRED)
Should be set to ON only when CMAKE_BUILD_TYPE=Debug.
wxWidgets_USE_STATIC ON/OFF (OPTIONAL)
CMAKE_VERBOSE_MAKEFILE ON/OFF (OPTIONAL)
Turns ON/OFF verbose build messages.
You can also pass VERBOSE=1 to make for the same effect.
CMAKE_INSTALL_PREFIX (OPTIONAL)
KICAD_MINIZIP ON/OFF
KICAD_PYTHON ON/OFF
-----------------------------------------------------------------------------
Note: that it is easy to build only a specific binary such as pcbnew alone:
make pcbnew
...
...
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