Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
Shuhang Huang
ceres-solver
Commits
6bcb8d9c
Commit
6bcb8d9c
authored
12 years ago
by
Pablo Speciale
Browse files
Options
Download
Patches
Plain Diff
Compiling against static or shared library
Change-Id: I3fb35e9a49f90b8894f59dde49c90a7c2dd74b0a
parent
619cfe69
master
1.14.x
threaded-jacobi
use-find-package
2.2.0
2.2.0rc3
2.2.0rc2
2.2.0rc1
2.1.0
2.1.0rc2
2.1.0rc1
2.0.0
2.0.0rc2
2.0.0rc1
1.14.0
1.14.0rc2
1.14.0rc1
1.13.0
1.13.0rc1
1.12.0
1.12.0rc4
1.12.0rc3
1.12.0rc2
1.12.0rc1
1.11.0
1.11.0rc4
1.11.0rc3
1.11.0rc2
1.11.0rc1
1.10.0
1.10.0rc2
1.10.0rc1
1.9.0
1.9.0rc1
1.8.0
1.8.0rc2
1.8.0rc1
1.7.0
1.6.0
1.5.0
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
cmake/CeresConfig.cmake.in
+1
-0
cmake/CeresConfig.cmake.in
docs/source/building.rst
+15
-0
docs/source/building.rst
with
16 additions
and
0 deletions
+16
-0
cmake/CeresConfig.cmake.in
+
1
−
0
View file @
6bcb8d9c
...
...
@@ -47,3 +47,4 @@ INCLUDE(${currentDir}/depend.cmake)
# Set the expected library variable
SET(CERES_LIBRARIES ceres)
SET(CERES_LIBRARIES_SHARED ceres_shared)
This diff is collapsed.
Click to expand it.
docs/source/building.rst
+
15
−
0
View file @
6bcb8d9c
...
...
@@ -384,3 +384,18 @@ If Ceres was installed in a non-standard path by specifying
FIND_PACKAGE(Ceres REQUIRED PATHS "/some/where/local/")
Note that this can be used to have multiple versions of Ceres installed.
Compiling against static or shared library
------------------------------------------
.. code-block:: cmake
TARGET_LINK_LIBRARIES(helloworld ${CERES_LIBRARIES})
will result in a statically linked binary. Changing this line to
.. code-block:: cmake
TARGET_LINK_LIBRARIES(helloworld ${CERES_LIBRARIES_SHARED})
will result in a dynamically linked binary.
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets