Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
folly
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Libraries
folly
Commits
f5ee09a3
Commit
f5ee09a3
authored
Oct 16, 2018
by
Kirk Shoop
Committed by
Facebook Github Bot
Oct 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
skip catch_discover_tests on older cmake versions
fbshipit-source-id: 5552aa10e9abdf6091bfe77fe802f2cd26d50d32
parent
0f0583e4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
5 deletions
+10
-5
folly/experimental/pushmi/test/CMakeLists.txt
folly/experimental/pushmi/test/CMakeLists.txt
+10
-5
No files found.
folly/experimental/pushmi/test/CMakeLists.txt
View file @
f5ee09a3
...
@@ -3,24 +3,29 @@ target_include_directories(catch PUBLIC
...
@@ -3,24 +3,29 @@ target_include_directories(catch PUBLIC
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/../external/Catch2/single_include>
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/../external/Catch2/single_include>
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include/Catch2>
)
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include/Catch2>
)
include
(
../external/Catch2/contrib/Catch.cmake
)
add_executable
(
FlowTest FlowTest.cpp
)
add_executable
(
FlowTest FlowTest.cpp
)
target_link_libraries
(
FlowTest pushmi catch Threads::Threads
)
target_link_libraries
(
FlowTest pushmi catch Threads::Threads
)
catch_discover_tests
(
FlowTest
)
add_executable
(
CompileTest CompileTest.cpp
)
add_executable
(
CompileTest CompileTest.cpp
)
target_link_libraries
(
CompileTest pushmi catch Threads::Threads
)
target_link_libraries
(
CompileTest pushmi catch Threads::Threads
)
# catch_discover_tests(CompileTest)
add_executable
(
NewThreadTest NewThreadTest.cpp
)
add_executable
(
NewThreadTest NewThreadTest.cpp
)
target_link_libraries
(
NewThreadTest pushmi catch Threads::Threads
)
target_link_libraries
(
NewThreadTest pushmi catch Threads::Threads
)
catch_discover_tests
(
NewThreadTest
)
add_executable
(
TrampolineTest TrampolineTest.cpp
)
add_executable
(
TrampolineTest TrampolineTest.cpp
)
target_link_libraries
(
TrampolineTest pushmi catch Threads::Threads
)
target_link_libraries
(
TrampolineTest pushmi catch Threads::Threads
)
catch_discover_tests
(
TrampolineTest
)
add_executable
(
PushmiTest PushmiTest.cpp
)
add_executable
(
PushmiTest PushmiTest.cpp
)
target_link_libraries
(
PushmiTest pushmi catch Threads::Threads
)
target_link_libraries
(
PushmiTest pushmi catch Threads::Threads
)
if
(
NOT
${
CMAKE_VERSION
}
VERSION_LESS
"3.10.0"
)
include
(
../external/Catch2/contrib/Catch.cmake
)
catch_discover_tests
(
FlowTest
)
# catch_discover_tests(CompileTest)
catch_discover_tests
(
NewThreadTest
)
catch_discover_tests
(
TrampolineTest
)
catch_discover_tests
(
PushmiTest
)
catch_discover_tests
(
PushmiTest
)
endif
()
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment