Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
caosdb-cpplib
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
caosdb
Software
caosdb-cpplib
Commits
61f152e7
Commit
61f152e7
authored
10 months ago
by
Joscha Schmiedt
Browse files
Options
Downloads
Patches
Plain Diff
FIX Link to gtest_main in tests
parent
87fd840b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!61
Release 0.3.0
,
!49
Resolve "EXTERN: Adapt to Conan 2"
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/CMakeLists.txt
+2
-1
2 additions, 1 deletion
test/CMakeLists.txt
with
2 additions
and
1 deletion
test/CMakeLists.txt
+
2
−
1
View file @
61f152e7
...
...
@@ -54,6 +54,7 @@ set(_CMAKE_CXX_CLANG_TIDY_TEST_CHECKS
find_package
(
GTest REQUIRED
)
include
(
GoogleTest
)
message
(
DEBUG
"CMAKE_INCLUDE_PATH:
${
CMAKE_INCLUDE_PATH
}
"
)
# loop over all test cases and add them to the test runner
list
(
LENGTH test_cases len_test_cases
)
...
...
@@ -64,7 +65,7 @@ foreach (i RANGE "${len_test_cases}")
set
(
libcaosdb_TEST_SRC
"
${
CMAKE_CURRENT_SOURCE_DIR
}
/
${
test_case_name
}
.cpp
${
libcaosdb_TEST_SRC
}
"
)
target_link_libraries
(
${
test_case_name
}
PRIVATE
${
LIBCAOSDB
}
ccaosdb gtest::gtest
boost::boost
)
PRIVATE
GTest::gtest_main
${
LIBCAOSDB
}
ccaosdb
gtest::gtest
)
target_include_directories
(
${
test_case_name
}
PUBLIC
${
CMAKE_CURRENT_BINARY_DIR
}
)
if
(
_LINTING
)
...
...
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