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
315850fa
Commit
315850fa
authored
Dec 20, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added and tested Windows support
parent
6991b496
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
29 deletions
+43
-29
CMakeLists.txt
CMakeLists.txt
+43
-29
No files found.
CMakeLists.txt
View file @
315850fa
...
...
@@ -28,7 +28,9 @@ FIND_PACKAGE(wxWidgets REQUIRED)
IF
(
UNIX
)
IF
(
APPLE
)
ELSE
(
APPLE
)
#SET(CMAKE_INSTALL_PATH /usr/local)
# like all variables, CMAKE_INSTALL_PREFIX can be over-ridden on the command line
SET
(
CMAKE_INSTALL_PREFIX /usr/local
)
# when used later, "bin" and others with no leading / is relative to CMAKE_INSTALL_PREFIX
SET
(
KICAD_BIN bin CACHE PATH
"Location of KiCad binaries."
)
SET
(
KICAD_PLUGINS lib/kicad/plugins CACHE PATH
"Location of KiCad plugins."
)
SET
(
KICAD_DOCS share/doc/kicad CACHE PATH
"Location of KiCad documentation files."
)
...
...
@@ -41,6 +43,17 @@ IF(UNIX)
ENDIF
(
UNIX
)
IF
(
WIN32
)
# like all variables, CMAKE_INSTALL_PREFIX can be over-ridden on the command line
SET
(
CMAKE_INSTALL_PREFIX C:/kicad
)
# when used later, "winexe" and others with no leading / is relative to CMAKE_INSTALL_PREFIX
SET
(
KICAD_BIN winexe CACHE PATH
"Location of KiCad binaries."
)
SET
(
KICAD_PLUGINS lib/kicad/plugins CACHE PATH
"Location of KiCad plugins."
)
SET
(
KICAD_DOCS share/doc/kicad CACHE PATH
"Location of KiCad documentation files."
)
SET
(
KICAD_DATA share/kicad CACHE PATH
"Location of KiCad data files."
)
SET
(
KICAD_MODULES
${
KICAD_DATA
}
/modules
)
SET
(
KICAD_LIBRARY
${
KICAD_DATA
}
/library
)
SET
(
KICAD_INTERNAT
${
KICAD_DATA
}
/internat
)
SET
(
KICAD_TEMPLATE
${
KICAD_DATA
}
/template
)
ENDIF
(
WIN32
)
# Did we find wxWidgets ? This condition will fail
...
...
@@ -78,3 +91,4 @@ ADD_SUBDIRECTORY(help)
ADD_SUBDIRECTORY
(
library
)
ADD_SUBDIRECTORY
(
modules
)
ADD_SUBDIRECTORY
(
template
)
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