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
dfb0443b
Commit
dfb0443b
authored
Apr 30, 2015
by
Maciej Suminski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Refactoring library dependencies.
parent
10a4b640
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
30 deletions
+8
-30
CMakeLists.txt
common/CMakeLists.txt
+8
-3
CMakeLists.txt
cvpcb/CMakeLists.txt
+0
-17
CMakeLists.txt
gerbview/CMakeLists.txt
+0
-1
CMakeLists.txt
pagelayout_editor/CMakeLists.txt
+0
-1
CMakeLists.txt
pcbnew/CMakeLists.txt
+0
-8
No files found.
common/CMakeLists.txt
View file @
dfb0443b
...
@@ -56,9 +56,14 @@ set( GAL_SRCS
...
@@ -56,9 +56,14 @@ set( GAL_SRCS
add_library
(
gal STATIC
${
GAL_SRCS
}
)
add_library
(
gal STATIC
${
GAL_SRCS
}
)
add_dependencies
(
gal shader_headers
)
add_dependencies
(
gal shader_headers
)
add_dependencies
(
gal lib-dependencies
)
add_dependencies
(
gal lib-dependencies
)
add_dependencies
(
shader_headers lib-dependencies
)
target_link_libraries
(
gal
${
GLEW_LIBRARIES
}
${
CAIRO_LIBRARIES
}
${
PIXMAN_LIBRARY
}
${
OPENGL_LIBRARIES
}
)
# Only for win32 cross compilation using MXE
# Only for win32 cross compilation using MXE
...
@@ -247,7 +252,7 @@ set( COMMON_SRCS
...
@@ -247,7 +252,7 @@ set( COMMON_SRCS
)
)
add_library
(
common STATIC
${
COMMON_SRCS
}
)
add_library
(
common STATIC
${
COMMON_SRCS
}
)
add_dependencies
(
common lib-dependencies
)
add_dependencies
(
common lib-dependencies
)
target_link_libraries
(
common
${
Boost_LIBRARIES
}
)
set
(
PCB_COMMON_SRCS
set
(
PCB_COMMON_SRCS
base_screen.cpp
base_screen.cpp
...
...
cvpcb/CMakeLists.txt
View file @
dfb0443b
...
@@ -117,26 +117,9 @@ target_link_libraries( cvpcb_kiface
...
@@ -117,26 +117,9 @@ target_link_libraries( cvpcb_kiface
polygon
polygon
gal
gal
${
wxWidgets_LIBRARIES
}
${
wxWidgets_LIBRARIES
}
${
OPENGL_LIBRARIES
}
${
GDI_PLUS_LIBRARIES
}
${
GDI_PLUS_LIBRARIES
}
${
GLEW_LIBRARIES
}
${
CAIRO_LIBRARIES
}
${
PIXMAN_LIBRARY
}
${
OPENMP_LIBRARIES
}
)
)
# Only for win32 cross compilation using MXE
if
(
WIN32 AND MSYS AND CMAKE_CROSSCOMPILING
)
target_link_libraries
(
cvpcb_kiface
opengl32
glu32
pixman-1
fontconfig
freetype
bz2
)
endif
()
if
(
BUILD_GITHUB_PLUGIN
)
if
(
BUILD_GITHUB_PLUGIN
)
target_link_libraries
(
cvpcb_kiface github_plugin
)
target_link_libraries
(
cvpcb_kiface github_plugin
)
endif
()
endif
()
...
...
gerbview/CMakeLists.txt
View file @
dfb0443b
...
@@ -131,7 +131,6 @@ target_link_libraries( gerbview_kiface
...
@@ -131,7 +131,6 @@ target_link_libraries( gerbview_kiface
common
common
polygon
polygon
bitmaps
bitmaps
${
OPENGL_LIBRARIES
}
${
wxWidgets_LIBRARIES
}
${
wxWidgets_LIBRARIES
}
${
GDI_PLUS_LIBRARIES
}
${
GDI_PLUS_LIBRARIES
}
)
)
...
...
pagelayout_editor/CMakeLists.txt
View file @
dfb0443b
...
@@ -100,7 +100,6 @@ target_link_libraries( pl_editor_kiface
...
@@ -100,7 +100,6 @@ target_link_libraries( pl_editor_kiface
common
common
polygon
polygon
bitmaps
bitmaps
${
OPENGL_LIBRARIES
}
${
wxWidgets_LIBRARIES
}
${
wxWidgets_LIBRARIES
}
${
GDI_PLUS_LIBRARIES
}
${
GDI_PLUS_LIBRARIES
}
)
)
...
...
pcbnew/CMakeLists.txt
View file @
dfb0443b
...
@@ -413,11 +413,7 @@ if( KICAD_SCRIPTING_MODULES )
...
@@ -413,11 +413,7 @@ if( KICAD_SCRIPTING_MODULES )
polygon
polygon
bitmaps
bitmaps
gal
gal
${
GLEW_LIBRARIES
}
${
CAIRO_LIBRARIES
}
${
PIXMAN_LIBRARY
}
${
wxWidgets_LIBRARIES
}
${
wxWidgets_LIBRARIES
}
${
OPENGL_LIBRARIES
}
${
GDI_PLUS_LIBRARIES
}
${
GDI_PLUS_LIBRARIES
}
${
PYTHON_LIBRARIES
}
${
PYTHON_LIBRARIES
}
${
PCBNEW_EXTRA_LIBS
}
${
PCBNEW_EXTRA_LIBS
}
...
@@ -583,12 +579,8 @@ target_link_libraries( pcbnew_kiface
...
@@ -583,12 +579,8 @@ target_link_libraries( pcbnew_kiface
idf3
idf3
${
GITHUB_PLUGIN_LIBRARIES
}
${
GITHUB_PLUGIN_LIBRARIES
}
${
wxWidgets_LIBRARIES
}
${
wxWidgets_LIBRARIES
}
${
OPENGL_LIBRARIES
}
${
GDI_PLUS_LIBRARIES
}
${
GDI_PLUS_LIBRARIES
}
${
PYTHON_LIBRARIES
}
${
PYTHON_LIBRARIES
}
${
GLEW_LIBRARIES
}
${
CAIRO_LIBRARIES
}
${
PIXMAN_LIBRARY
}
${
Boost_LIBRARIES
}
# must follow GITHUB
${
Boost_LIBRARIES
}
# must follow GITHUB
${
PCBNEW_EXTRA_LIBS
}
# -lrt must follow Boost
${
PCBNEW_EXTRA_LIBS
}
# -lrt must follow Boost
${
OPENMP_LIBRARIES
}
${
OPENMP_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