Alec Leamas
13ac389cbe
cmake: Move options to start, comments, cleanup.
2020-09-29 12:33:31 +02:00
Alec Leamas
9662bf6b11
cmake: Make catkin package optional
2020-09-29 12:28:06 +02:00
Alec Leamas
94743a6b92
cmake: package.xml: Use version in PROJECT() call.
2020-09-29 11:19:34 +02:00
Alec Leamas
5f1ab387b7
cmake: Add option for alternative name cxx-serial.
...
The name serial is problematic when packaging since it's basically too
generic and easily generates name clashes. Add an option which builds
the package as cxx-serial instead, by default off to not break existing
usage.
Gbp-Pq: Name 0008-cmake-Add-option-for-alternative-name-cxx-serial.patch
2020-09-29 11:19:34 +02:00
Alec Leamas
e1dabd8649
cmake, include: Make use of v8stdint.h conditional.
...
Make sure that in cases v8stdint.h is not used it's not even included in
the package. Installation of this file is problematic when packaged
since the file is used also in other packages and leads to installation
conflicts.
Gbp-Pq: Name 0007-cmake-include-Make-use-of-v8stdint.h-conditional.patch
2020-09-29 11:19:34 +02:00
Alec Leamas
c0e9292ee1
cmake: Make CATKIN_ENABLE_TESTING an official option.
...
Gbp-Pq: Name 0006-cmake-Make-CATKIN_ENABLE_TESTING-an-offial-option.patch
2020-09-29 11:19:34 +02:00
Alec Leamas
00cbd2c197
cmake: Use doxygen for docs if found.
...
Gbp-Pq: Name 0005-cmake-Use-doxygen-for-docs-if-found.patch
2020-09-29 11:19:34 +02:00
Alec Leamas
742555a652
cmake: Make test program depend on ENABLE_TEST_PROGRAM.
...
Gbp-Pq: Name 0004-cmake-Make-test-program-depend-on-ENABLE_TEST_PROGRA.patch
2020-09-29 11:19:34 +02:00
Alec Leamas
ed0e389352
cmake: Add defined so-version and public header to lib.
...
Adding a so-version means defining an ABI level. This level is decoupled
from the ordinary version, even a major version change doesn't
necessarily mean that the so-version should change (and thus have all
dependencies to be rebuilt).
Adding the public header to clarify the setup.
Gbp-Pq: Name 0002-cmake-Add-defined-so-version-and-public-header-to-li.patch
2020-09-29 10:17:23 +02:00
Alec Leamas
cb35d69dd5
cmake: Use cmake >= 3.5, add project setup.
...
Cmake made major changes in the 2.x -> 3.0 switch, keeping the 2.x
compatiblity just isn't worth it. Since serial anyway doesn't build on
versions before xenial, use xenial's cmake at 3.5 as baseline.
Gbp-Pq: Name 0001-cmake-Use-cmake-3.5-add-project-setup.patch
2020-09-29 10:17:14 +02:00
Sean Yen
cbcca7c837
Install serial library to a portable location. ( #216 )
2020-01-06 11:15:17 -08:00
William Woodall
2ef29d7b10
whitespace
2018-11-12 12:01:58 -06:00
Mike Purvis
bdba3a80ad
Fix CMake warning for rt and pthread. ( #165 )
2018-01-18 17:25:29 -08:00
Dawid Piotrowski
49b6762927
support for mxe
2014-08-16 22:08:56 +02:00
William Woodall
dfc59a5f11
whitespace
2014-07-02 15:23:23 -07:00
Craig Lilley
31a589e6e7
Added osx implementation to list_ports.
2014-04-26 12:49:30 +01:00
Craig Lilley
72604cec0e
Added ability to enumerate ports on linux and windows.
...
Updated serial_example.cc to show example of port enumeration.
2014-04-17 19:54:29 +01:00
Mike Purvis
9c432f9bb1
Add unix timer tests, clarify tests are only on unix at present, move test builds into separate makefile.
2013-11-18 21:35:07 -05:00
William Woodall
3292f2b682
Fix up linking on Linux for the tests
...
Conflicts:
CMakeLists.txt
tests/serial_tests.cc
2013-07-31 16:52:19 -07:00
William Woodall
54987058ea
install headers
2013-01-09 10:53:58 -08:00
William Woodall
72f43d9976
Small CMakeLists.txt touch ups.
2012-12-03 15:31:41 -08:00
William Woodall
fe00053372
Removed rt linking on OS X. Fixes #24 .
2012-12-03 14:51:10 -08:00
William Woodall
d5429126c9
Added a link option specifically for Linux
2012-10-24 01:32:23 -07:00
William Woodall
7174d62e1b
Adding catkin build files and a new Makefile.
2012-10-23 23:47:11 -07:00
William Woodall
7e50dc7da6
Fixing compile and link problems in Linux and ROS
2012-06-13 20:13:57 -05:00
William Woodall
937e834698
Updating the unix implementation to support the more sophisticated timeout system.
2012-05-09 19:51:56 -05:00
William Woodall
f7517a0d4f
Adding a cmake option to prevent ROS building.
2012-01-07 15:30:38 -06:00
William Woodall
04608ec94b
Fixed ROS building.
2012-01-01 01:32:38 -06:00
William Woodall
93b8dfe27b
Adding support to build as a ROS unary stack or as a standalone library.
2012-01-01 01:12:00 -06:00
William Woodall
30df56e4a0
Added a policy to suppress a warning in Windows.
2011-07-04 11:23:24 -05:00
William Woodall
a726a78c55
Fixing a bug/patch submitted by d.suvorov90@gmail.com for linking on Windows.
2011-07-04 10:46:03 -05:00
William Woodall
7dbd1d53a6
Revamped the build system a bit to make it more friendly to embeding in other projects.
2011-06-22 00:05:11 -05:00
William Woodall
e761b2bb64
Fixed the Findserial.cmake install path override...
2011-03-24 17:52:51 -05:00
William Woodall
3fb3b06484
Added the ability to override the install path for the Findserial.cmake file.
2011-03-24 17:40:51 -05:00
William Woodall
dbb6dcca50
Added a Findserial.cmake file to be instaleld to help with finding the library. Also, added an uninstall target.
2011-03-24 17:37:34 -05:00
William Woodall
d5b867a419
Added some boost related stuff to cmake to help with windows building.
2011-03-22 11:00:31 -05:00
William Woodall
465d32cb8c
Fixed an issue with setting cmake install prefix externally.
2011-03-19 15:35:50 -05:00
William Woodall
ad5fcbcf7e
Added install targets.
2011-03-19 15:15:29 -05:00
William Woodall
09a14965ed
Completely removed ROS dependency, builds with cmake and has a auto cmake && make Makefile. To build just type make.
2011-03-19 14:50:34 -05:00
William Woodall
78569133ec
moved files out or stack/package setup.
2011-03-19 14:16:41 -05:00
William Woodall
ab455881b2
Initial commit.
2011-03-13 16:38:23 -05:00