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
499fc46e
Commit
499fc46e
authored
Jan 27, 2012
by
Dick Hollenbeck
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kicad CMakeList.txt library dependency order
parent
fb7b03a6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
9 deletions
+26
-9
CMakeLists.txt
kicad/CMakeLists.txt
+19
-6
CMakeLists.txt
pcb_calculator/CMakeLists.txt
+7
-3
No files found.
kicad/CMakeLists.txt
View file @
499fc46e
...
...
@@ -40,16 +40,29 @@ if(APPLE)
endif
(
APPLE
)
add_executable
(
kicad WIN32 MACOSX_BUNDLE
${
KICAD_SRCS
}
${
KICAD_EXTRA_SRCS
}
${
KICAD_RESOURCES
}
)
${
KICAD_SRCS
}
${
KICAD_EXTRA_SRCS
}
${
KICAD_RESOURCES
}
)
if
(
APPLE
)
set_target_properties
(
kicad PROPERTIES MACOSX_BUNDLE_INFO_PLIST
${
CMAKE_CURRENT_SOURCE_DIR
}
/Info.plist
)
target_link_libraries
(
kicad common bitmaps kbool polygon
${
wxWidgets_LIBRARIES
}
)
target_link_libraries
(
kicad
common
bitmaps
polygon
kbool
${
wxWidgets_LIBRARIES
}
)
else
(
APPLE
)
target_link_libraries
(
kicad common bitmaps kbool polygon
${
wxWidgets_LIBRARIES
}
${
GDI_PLUS_LIBRARIES
}
)
target_link_libraries
(
kicad
common
bitmaps
polygon
kbool
${
wxWidgets_LIBRARIES
}
${
GDI_PLUS_LIBRARIES
}
)
endif
(
APPLE
)
install
(
TARGETS kicad
...
...
pcb_calculator/CMakeLists.txt
View file @
499fc46e
...
...
@@ -57,8 +57,9 @@ endif(APPLE)
add_executable
(
pcb_calculator WIN32 MACOSX_BUNDLE
${
PCB_CALCULATOR_SRCS
}
${
PCB_CALCULATOR_RESOURCES
}
)
${
PCB_CALCULATOR_SRCS
}
${
PCB_CALCULATOR_RESOURCES
}
)
if
(
APPLE
)
...
...
@@ -67,7 +68,10 @@ if(APPLE)
endif
(
APPLE
)
target_link_libraries
(
pcb_calculator
common polygon bitmaps kbool
common
bitmaps
polygon
kbool
${
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