Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
E
ECSS Services
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AcubeSat-OBC
ECSS Services
Commits
6a2f34bf
Commit
6a2f34bf
authored
6 years ago
by
kongr45gpen
Browse files
Options
Downloads
Patches
Plain Diff
Check for the Catch2 CMake file instead of the entire directory
parent
94b8dbda
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+1
-1
1 addition, 1 deletion
CMakeLists.txt
with
1 addition
and
1 deletion
CMakeLists.txt
+
1
−
1
View file @
6a2f34bf
...
...
@@ -16,7 +16,7 @@ add_custom_target(check
# Specify the .cpp files for the executables
add_executable
(
ecss_services src/main.cpp src/Message.cpp src/Service.cpp src/Services/TestService.cpp
)
IF
(
EXISTS lib/Catch2
)
IF
(
EXISTS lib/Catch2
/CMakeLists.txt
)
add_subdirectory
(
lib/Catch2
)
add_executable
(
tests src/Message.cpp src/Service.cpp src/Services/TestService.cpp tests/tests.cpp tests/Message.cpp
)
target_link_libraries
(
tests Catch2::Catch2
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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