Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Repair CMake export system for building out-of-tree targets #364

Merged
merged 3 commits into from
Jan 20, 2022

Conversation

cerna
Copy link
Contributor

@cerna cerna commented Jan 3, 2022

This pull request implements a repair to #349 pull request for the Machinekit-HAL's CMake based export system for building out-of-tree modules, libraries and executables. (Targets which are not build during the bulk of Machinekit-HAL build, but build based on installed Machinekit-HAL [or from BINARY tree].)

cerna added 3 commits January 3, 2022 02:36
Implementation of 'runtests' for the CMake based build-system when building dependent modules, libraries and executables. Should work from both BINARY tree and INSTALLED tree (both tested during the CI run).

Tests that the exported TARGET and COMPONENT files exist and can be loaded, but do not execute any compilation.
Add testing for exports of CMake functions, macros and other COMMANDS. Useful mainly for checking the 'export_rtapi_symbols' function for Managed Runtime is available.
Do not run tests or expect existence of targets which need the 'sys/io.h' include header.
@cerna cerna force-pushed the cmake-export-repair branch from 570d7db to 4d2eec7 Compare January 3, 2022 21:54
@cerna cerna merged commit eca0570 into machinekit:master Jan 20, 2022
@cerna cerna deleted the cmake-export-repair branch January 20, 2022 21:21
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant