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
a7d68dd5
Commit
a7d68dd5
authored
Dec 23, 2007
by
dickelbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added boost checking
parent
323b5b75
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
4 deletions
+14
-4
CMakeLists.txt
CMakeLists.txt
+3
-3
CMakeLists.txt
pcbnew/CMakeLists.txt
+11
-1
No files found.
CMakeLists.txt
View file @
a7d68dd5
...
...
@@ -63,7 +63,7 @@ IF(wxWidgets_FOUND)
MESSAGE
(
STATUS
"Check for installed wxWidgets -- found"
)
# Include wxWidgets macros.
INCLUDE
(
${
wxWidgets_USE_FILE
}
)
INCLUDE
(
${
wxWidgets_USE_FILE
}
)
# We define the include paths here.
# Include dirs for wxWidgets was defined before.
...
...
@@ -71,7 +71,7 @@ IF(wxWidgets_FOUND)
${
CMAKE_CURRENT_SOURCE_DIR
}
/include
${
CMAKE_CURRENT_SOURCE_DIR
}
/share
)
# CMake will look
at this
dirs for nested 'CMakeLists.txt' files
# CMake will look
in these
dirs for nested 'CMakeLists.txt' files
ADD_SUBDIRECTORY
(
common
)
ADD_SUBDIRECTORY
(
3d-viewer
)
ADD_SUBDIRECTORY
(
cvpcb
)
...
...
@@ -82,7 +82,7 @@ IF(wxWidgets_FOUND)
ELSE
(
wxWidgets_FOUND
)
# For convenience. When we cannot continue, inform the user.
MESSAGE
(
STATUS
"Check for installed wxWidgets -- not found"
)
MESSAGE
(
FATAL_ERROR
"wxWidgets was not found - it is required to build KiCad"
)
MESSAGE
(
FATAL_ERROR
"wxWidgets was not found - it is required to build KiCad"
)
ENDIF
(
wxWidgets_FOUND
)
# CMake will look at this dirs for nested 'CMakeLists.txt' files
...
...
pcbnew/CMakeLists.txt
View file @
a7d68dd5
ADD_DEFINITIONS
(
-DPCBNEW
)
FIND_PACKAGE
(
Boost
)
INCLUDE_DIRECTORIES
(
${
Boost_INCLUDE_DIRS
}
)
INCLUDE_DIRECTORIES
(
${
CMAKE_CURRENT_SOURCE_DIR
}
${
Boost_INCLUDE_DIRS
}
bitmaps
../3d-viewer
../polygon
...
...
@@ -116,7 +122,7 @@ SET(PCBNEW_SRCS
set_color.cpp
set_grid.cpp
solve.cpp
# specctra.cpp
#
specctra.cpp
surbrill.cpp
swap_layers.cpp
tool_modedit.cpp
...
...
@@ -159,6 +165,10 @@ SET_SOURCE_FILES_PROPERTIES( dsn.cpp PROPERTIES COMPILE_FLAGS -DSTANDALONE )
ADD_EXECUTABLE
(
dsntest EXCLUDE_FROM_ALL dsn.cpp
)
TARGET_LINK_LIBRARIES
(
dsntest common
${
wxWidgets_LIBRARIES
}
)
SET_SOURCE_FILES_PROPERTIES
(
specctra.cpp PROPERTIES COMPILE_FLAGS -DSTANDALONE
)
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
}
)
...
...
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