New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reorganize and Add to CMake Tests #4374
Draft
iguessthislldo
wants to merge
9
commits into
OpenDDS:master
Choose a base branch
from
iguessthislldo:igtd/cmake-tests
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This will make it easier to add tests in the future. It also unifies the lists of MPC-build OpenDDS CMake tests and the CMake-build tests. Also: - Promoted Messenger_2 CMake test to `tests/DCPS/Messenger`. - Various cleanup to the various test CMakeLists files.
- Only install RapidJSON if it's from FetchContent or submodule - Mention when OPENDDS_MPC isn't defined - Set C++ std based on ACE Version - Define GTEST_LINKED_AS_SHARED_LIBRARY when needed - Update install test
iguessthislldo
added a commit
to iguessthislldo/OpenDDS
that referenced
this pull request
Feb 23, 2024
This continues the work started in OpenDDS#4481 and tries to correctly handle C++ standards in all CMake support. Previously the CMake support was agnostic towards C++ standards, but this meant that building with CMake didn't have a way of differentiating C++ standards. Now we can detect C++ standard support and should be able to build ACE accordingly. Also: - Added `OPENDDS_CXX_STD_YEAR` CMake variable for easy checking of C++ standard support. - In addition to passing `CMAKE_CXX_STANDARD` to the ACE/TAO MPC build, it will also now pass `CMAKE_CXX_COMPILER`. - Removed need for `cmake/detect_ace.pl` - Some of the changes originally in OpenDDS#4374 - MPC location message will now say when it wasn't set. - Split adding of tests between different directories.
iguessthislldo
added a commit
to iguessthislldo/OpenDDS
that referenced
this pull request
Mar 27, 2024
This continues the work started in OpenDDS#4481 and tries to correctly handle C++ standards in all CMake support. Previously the CMake support was agnostic towards C++ standards, but this meant that building with CMake didn't have a way of differentiating C++ standards. Now we can detect C++ standard support and should be able to build ACE/TAO accordingly. Also: - Added `OPENDDS_CXX_STD_YEAR` CMake variable for easy checking of C++ standard support. - Passing C++ standard to the ACE/TAO MPC builds and `CMAKE_CXX_COMPILER` for gnuace builds. - Removed need for `cmake/detect_ace.pl` - Some of the changes originally in OpenDDS#4374 - MPC location message will now say when it wasn't set. - Split adding of tests between different directories.
iguessthislldo
added a commit
to iguessthislldo/OpenDDS
that referenced
this pull request
Mar 27, 2024
This continues the work started in OpenDDS#4481 and tries to correctly handle C++ standards in all CMake support. Previously the CMake support was agnostic towards C++ standards, but this meant that building with CMake didn't have a way of differentiating C++ standards. Now we can detect C++ standard support and should be able to build ACE/TAO accordingly. Also: - Added `OPENDDS_CXX_STD_YEAR` CMake variable for easy checking of C++ standard support. - Passing C++ standard to the ACE/TAO MPC builds and `CMAKE_CXX_COMPILER` for gnuace builds. - Removed need for `cmake/detect_ace.pl` - Some of the changes originally in OpenDDS#4374 - MPC location message will now say when it wasn't set. - Split adding of tests between different directories.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Reorganized test
CMakeLists.txt
files to make it easier to add tests in the future. It also unifies the lists of MPC-build OpenDDS CMake tests and the CMake-build tests.Also:
tests/unit-tests
,tests/DCPS/Compiler/xcdr
, andtests/DCPS/Messenger
(from Messenger_2 CMake test) to CMake.