Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
opSimulation
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Eclipse Projects
Eclipse openpass
opSimulation
Merge requests
!43
Resolve "CI Setup"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "CI Setup"
2-ci-setup-windows
into
servant
Overview
2
Commits
111
Pipelines
0
Changes
37
Merged
Reinhard Biegel
requested to merge
2-ci-setup-windows
into
servant
3 years ago
Overview
2
Commits
111
Pipelines
0
Changes
37
Expand
Closes
#2 (closed)
0
0
Merge request reports
Compare
servant
version 3
a956096b
3 years ago
version 2
aabca3f1
3 years ago
version 1
02b97bc5
3 years ago
servant (base)
and
latest version
latest version
606ccc04
111 commits,
3 years ago
version 3
a956096b
110 commits,
3 years ago
version 2
aabca3f1
109 commits,
3 years ago
version 1
02b97bc5
108 commits,
3 years ago
37 files
+
1291
−
39
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
37
Search (e.g. *.vue) (Ctrl+P)
cmake/HelperMacros.cmake
+
19
−
11
Options
@@ -311,19 +311,27 @@ function(add_openpass_target)
add_executable
(
${
PARSED_ARG_NAME
}
EXCLUDE_FROM_ALL
${
PARSED_ARG_HEADERS
}
${
PARSED_ARG_SOURCES
}
${
PARSED_ARG_UIS
}
)
target_include_directories
(
${
PARSED_ARG_NAME
}
SYSTEM PRIVATE
${
GTEST_INCLUDE_DIR
}
)
if
(
WIN32
)
target_link_libraries
(
${
PARSED_ARG_NAME
}
GTest::gtest
GTest::gmock
pthread
)
else
()
target_include_directories
(
${
PARSED_ARG_NAME
}
SYSTEM PRIVATE
${
GTEST_INCLUDE_DIR
}
)
# currently not provided by FindGTest
string
(
REGEX REPLACE
"libgtest"
"libgmock"
GMOCK_LIBRARY
"
${
GTEST_LIBRARY
}
"
)
# currently not provided by FindGTest
string
(
REGEX REPLACE
"libgtest"
"libgmock"
GMOCK_LIBRARY
"
${
GTEST_LIBRARY
}
"
)
target_link_libraries
(
${
PARSED_ARG_NAME
}
${
GTEST_LIBRARY
}
${
GMOCK_LIBRARY
}
pthread
)
target_link_libraries
(
${
PARSED_ARG_NAME
}
${
GTEST_LIBRARY
}
${
GMOCK_LIBRARY
}
pthread
)
endif
()
add_test
(
NAME
${
PARSED_ARG_NAME
}
_build COMMAND
${
CMAKE_COMMAND
}
--build
${
CMAKE_BINARY_DIR
}
--target
${
PARSED_ARG_NAME
}
)
add_test
(
NAME
${
PARSED_ARG_NAME
}
COMMAND
${
PARSED_ARG_NAME
}
${
ADDITIONAL_TEST_ARGS
}
)
Loading