44 Commits

Author SHA1 Message Date
Julian Oes 31b4aebb5e cmake: locally install pip dependencies (#1984)
Signed-off-by: Julian Oes <julian@oes.ch>
2023-05-11 08:47:05 +10:00
Jonas Vautherin ce00667f1e New cmakelists (#1977) 2023-05-04 09:44:41 +10:00
Julian Oes 0b5b5dabf9 cmake: add option to disable pymavlink install
This adds an option for cmake to skip the pymavlink install. Without
this option a local install will still try to install pymavlink
system-wide which is not required in my use case, and would also require
root privileges.
2022-06-28 21:03:03 -04:00
Hamish Willee b06e46a264 remove autoquad.xml (#1624) 2021-05-05 17:52:50 +10:00
Thomas Karl Pietrowski 6b4482a9f3 CMake: Using find_program to find mavgen(.py) (#1485)
* CMake: Using find_program to find mavgen(.py)

If neither mavgen nor mavgen.py have been found as executables in $PATH, then we will fallback to the hardcoded location (submodule).

Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com>

* CMake: Adding USE_SYSTEM_PYMAVLINK and cleanups

Adding the USE_SYSTEM_PYMAVLINK option and made some cleanups.
Enabling the option will correctly turn on the lookup for mavlink.py and generating the sources works as expected.

Signed-off-by: Thomas Karl Pietrowski <thopiekar@gmail.com>
2020-12-09 07:52:59 +01:00
Thomas Karl Pietrowski 2552661917 CMake: Removing slugs.xml (#1484) 2020-09-22 09:53:02 +10:00
Toby Schneider 0ebf1faac5 Add option to use Python3 in CMake - set it default ON for versions of CMake that have find_package(Python3) (#1357) 2020-05-04 09:08:55 +02:00
Jacob Schloss 98b7ed0aba use PROJECT_SOURCE_DIR instead of CMAKE_SOURCE_DIR so building as a subdirectory works (#1300) 2020-02-03 20:52:27 +11:00
Patrick José Pereira 080811f354 CMakeLists: Allow mavlink v2.0 build and installation
- Mavlink 2.0 is built from v1.0 folder
- Build both MavLink 1.0 and Mavlink 2.0 C libraries

Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2020-01-25 17:20:20 +01:00
David Jablonski 44807b2a5d removed 0.9 messages from cmake (#1241) 2019-10-01 09:50:24 +02:00
Will Sackfield f4c2334fda Allow external CMakeLists to define mavlink dir
* This allows people to use mavlink as a submodule
2018-05-21 11:41:58 +02:00
devbharat a3d4c49c6c Fixed message definitions 2015-12-11 19:08:57 +01:00
Arnaud Degroote 8059873289 [cmake] Fix cmake build
Otherwise, it fails miserably with

from . import mavparse
ValueErrorValueError: : Attempted relative import in non-packageAttempted relative import in non-package
2015-07-15 10:29:56 +10:00
Philippe Hamelin 109711ad81 cmake: fix broken CMake build by calling the module with python -m. 2015-06-19 09:51:11 -04:00
Helio Chissini de Castro 3a089c657f CMakeLists.txt: Remove NONE from project name, which invalidates cmake ability to check arch
CMakeLists.txt: Proper use LIB_SUFFIX and LIB_INSTALL_DIR enable some 64 bit Linux distros find pkgconfig file
CmakeLists.txt: Install python on default site_packages instead of pyshared. Most Linux distros already made the transition,
        for referennce Debian statement https://wiki.debian.org/Python/TransitionToDHPython2?action=show&redirect=Python%2FPyCentral2DhPython2
pc.in: Use correct package version and add proper description.

Signed-off-by: Helio Chissini de Castro <helio@kde.org>
2014-12-03 11:53:09 +11:00
Christian Gudrian c64620f68a removed sensesoar.xml from CMakeLists.txt 2014-11-06 22:44:24 +01:00
Simon Lynen f75ecb1232 minor adaptions for cmake 2014-06-26 16:03:39 -07:00
maxpaperno 0f6b41bd4c Add AutoQuad to CMakeLists.txt 2013-06-11 11:23:38 -04:00
wiseman a83ba6507d Fixed README filename in CMakeLists.txt. 2012-09-13 00:46:43 -07:00
James Goppert 031aa223b8 Version bump. 2012-05-18 19:06:25 -04:00
James Goppert d0f39869e6 Releasing new version. 2012-04-19 17:08:38 -04:00
James Goppert c5c5f58c66 Changed package names. 2012-04-19 14:54:09 -04:00
James Goppert 34c105023d Added missing PAYLOAD_NON_CONST define to 0.9 mavlink_types.h 2012-04-19 14:40:34 -04:00
James Goppert f722ca8cf9 Removed dead symbolic link/ added python module to install. 2012-04-19 13:50:27 -04:00
James Goppert 8725358f3a Working on zip structure. 2012-04-19 12:43:00 -04:00
James Goppert 66bbe1bd84 Fixed component typo. 2012-04-18 16:13:23 -04:00
James Goppert 112cad9a4f Added config file with version to install. 2012-03-22 14:14:21 -04:00
James Goppert 0d97e6c203 Some cmake cleanup. 2012-03-14 18:41:31 -04:00
James Goppert 68bef8e3de Disabled dependency building, since not currently in use. 2012-03-01 02:46:47 -05:00
James Goppert 939c590170 Packaging fixes. 2012-03-01 01:21:59 -05:00
James Goppert ba0fab1df0 Further cmake cleanup. 2012-03-01 00:36:36 -05:00
James Goppert ce4ed93247 CMake cleanup. 2012-03-01 00:34:56 -05:00
James Goppert 1351cf2db3 Merge branch 'pymavlink_merge' of github.com:mavlink/mavlink into pymavlink_merge 2012-02-20 19:52:26 -05:00
James Goppert 0fabecc244 Packaging improvements. 2012-02-20 19:35:59 -05:00
James Goppert fda81bf7ff Fixed wire protocol for cmake generation. 2012-02-15 23:52:47 -05:00
James Goppert 20c7f9c25d Added building for test program, needs to be updated. 2012-02-15 11:28:23 -05:00
James Goppert 74828f903f Finished cmake cleanup. 2012-02-15 11:18:02 -05:00
James Goppert 907353cb19 Added back arkcmake. 2012-02-15 11:03:11 -05:00
James Goppert b602a22821 Removed extra cmake scripts. 2012-02-15 10:45:31 -05:00
James Goppert 5cfd4f689c Changed default install prefix for external projects. 2012-02-13 15:21:20 -05:00
James Goppert 68a41d7f78 Removed old files. 2012-02-10 12:35:13 -05:00
James Goppert c186c1799a Fixed version number. 2012-02-09 19:17:43 -05:00
James Goppert c894393440 Adding message definitions. 2012-02-09 19:10:39 -05:00
James Goppert 3b66174370 Added cmake packaging. 2012-02-09 12:54:31 -05:00