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
f5189553
Commit
f5189553
authored
Oct 16, 2018
by
Eric Niebler
Committed by
Facebook Github Bot
Oct 17, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only the tests need to depend on Catch2
fbshipit-source-id: ec5e6c15ed3e61894d297e675f0180008ea6de4a
parent
3696eeae
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
13 deletions
+12
-13
folly/experimental/pushmi/CMakeLists.txt
folly/experimental/pushmi/CMakeLists.txt
+2
-5
folly/experimental/pushmi/test/CMakeLists.txt
folly/experimental/pushmi/test/CMakeLists.txt
+10
-8
No files found.
folly/experimental/pushmi/CMakeLists.txt
View file @
f5189553
...
...
@@ -16,15 +16,13 @@ target_include_directories(pushmi INTERFACE
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/external/executors-impl/include>
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/external/futures-impl/future-executor-interaction/include>
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/external/networking-ts-impl/include>
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/external/Catch2/single_include>
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/external/nonius/include>
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include>
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include/executors>
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include/futures>
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include/net>
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include/Catch2>
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include/nonius>
)
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include/nonius>
)
if
(
PUSHMI_USE_CONCEPTS_EMULATION
)
...
...
@@ -66,7 +64,6 @@ target_compile_options(pushmi INTERFACE
endif
(
PUSHMI_USE_CONCEPTS_EMULATION
)
target_compile_options
(
pushmi INTERFACE
$<$<CXX_COMPILER_ID:GNU>:-ftemplate-backtrace-limit=0>
)
if
(
PUSHMI_CONCEPTS
)
...
...
folly/experimental/pushmi/test/CMakeLists.txt
View file @
f5189553
include
(
../external/Catch2/contrib/Catch.cmake
)
add_library
(
catch STATIC catch.cpp
)
target_include_directories
(
catch PUBLIC
$<BUILD_INTERFACE:
${
CMAKE_CURRENT_SOURCE_DIR
}
/../external/Catch2/single_include>
$<INSTALL_INTERFACE:$<INSTALL_PREFIX>/include/Catch2>
)
add_library
(
CatchImpl catch.cpp
)
target_link_libraries
(
CatchImpl pushmi
)
include
(
../external/Catch2/contrib/Catch.cmake
)
add_executable
(
FlowTest FlowTest.cpp
)
target_link_libraries
(
FlowTest pushmi
CatchImpl
Threads::Threads
)
target_link_libraries
(
FlowTest pushmi
catch
Threads::Threads
)
catch_discover_tests
(
FlowTest
)
add_executable
(
CompileTest CompileTest.cpp
)
target_link_libraries
(
CompileTest pushmi
CatchImpl
Threads::Threads
)
target_link_libraries
(
CompileTest pushmi
catch
Threads::Threads
)
# catch_discover_tests(CompileTest)
add_executable
(
NewThreadTest NewThreadTest.cpp
)
target_link_libraries
(
NewThreadTest pushmi
CatchImpl
Threads::Threads
)
target_link_libraries
(
NewThreadTest pushmi
catch
Threads::Threads
)
catch_discover_tests
(
NewThreadTest
)
add_executable
(
TrampolineTest TrampolineTest.cpp
)
target_link_libraries
(
TrampolineTest pushmi
CatchImpl
Threads::Threads
)
target_link_libraries
(
TrampolineTest pushmi
catch
Threads::Threads
)
catch_discover_tests
(
TrampolineTest
)
add_executable
(
PushmiTest PushmiTest.cpp
)
target_link_libraries
(
PushmiTest pushmi
CatchImpl
Threads::Threads
)
target_link_libraries
(
PushmiTest pushmi
catch
Threads::Threads
)
catch_discover_tests
(
PushmiTest
)
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