Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
cameo-tests
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Contributor analytics
Repository analytics
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Cameo
cameo-tests
Commits
f0e5eef7
Commit
f0e5eef7
authored
4 years ago
by
legoc
Browse files
Options
Downloads
Patches
Plain Diff
Added CMake makefile
parent
1cd9bd88
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
+161
-0
161 additions, 0 deletions
CMakeLists.txt
with
161 additions
and
0 deletions
CMakeLists.txt
0 → 100644
+
161
−
0
View file @
f0e5eef7
#------------------------------------------------------------
# Project
#------------------------------------------------------------
cmake_minimum_required
(
VERSION 3.7.2
)
# Project name and version
project
(
cameo-tests VERSION 1.0.0 LANGUAGES CXX
)
include
(
GNUInstallDirs
)
include
(
CMakePackageConfigHelpers
)
include
(
FetchContent
)
if
(
NOT DEFINED CMAKE_CXX_STANDARD
)
# specify the C++ standard
set
(
CMAKE_CXX_STANDARD 17
)
set
(
CMAKE_CXX_STANDARD_REQUIRED True
)
endif
()
find_package
(
cameo 1.1.0 REQUIRED
)
#------------------------------------------------------------
# Programs
#------------------------------------------------------------
add_executable
(
openport src/OpenPort.cpp
)
target_link_libraries
(
openport PUBLIC cameo zmq
)
add_executable
(
testcameo src/Test.cpp
)
target_link_libraries
(
testcameo PUBLIC cameo zmq
)
add_executable
(
testveryfast src/TestVeryFast.cpp
)
target_link_libraries
(
testveryfast PUBLIC cameo zmq
)
add_executable
(
testsimple src/TestSimpleApplication.cpp
)
target_link_libraries
(
testsimple PUBLIC cameo zmq
)
add_executable
(
testbadendpoint src/TestBadEndpoint.cpp
)
target_link_libraries
(
testbadendpoint PUBLIC cameo zmq
)
add_executable
(
teststate src/TestStateApplication.cpp
)
target_link_libraries
(
teststate PUBLIC cameo zmq
)
add_executable
(
testpublisher src/TestPublisherApplication.cpp
)
target_link_libraries
(
testpublisher PUBLIC cameo zmq
)
add_executable
(
testpublishertwo src/TestPublisherTwoApplication.cpp
)
target_link_libraries
(
testpublishertwo PUBLIC cameo zmq
)
add_executable
(
testsubscriber src/TestSubscriberApplication.cpp
)
target_link_libraries
(
testsubscriber PUBLIC cameo zmq
)
add_executable
(
testsubscriberandpublisher src/TestSubscriberAndPublisherApplication.cpp
)
target_link_libraries
(
testsubscriberandpublisher PUBLIC cameo zmq
)
add_executable
(
testsubscriberandpublishertwo src/TestSubscriberAndPublisherTwoApplication.cpp
)
target_link_libraries
(
testsubscriberandpublishertwo PUBLIC cameo zmq
)
add_executable
(
testnonsyncsubscriber src/TestNonSyncSubscriberApplication.cpp
)
target_link_libraries
(
testnonsyncsubscriber PUBLIC cameo zmq
)
add_executable
(
testnonsyncsubscribersandpublisher src/TestNonSyncSubscribersAndPublisherApplication.cpp
)
target_link_libraries
(
testnonsyncsubscribersandpublisher PUBLIC cameo zmq
)
add_executable
(
testresult src/TestResultApplication.cpp
)
target_link_libraries
(
testresult PUBLIC cameo zmq
)
add_executable
(
teststartwithresult src/TestStartWithResultApplication.cpp
)
target_link_libraries
(
teststartwithresult PUBLIC cameo zmq
)
add_executable
(
teststop src/TestStopApplication.cpp
)
target_link_libraries
(
teststop PUBLIC cameo zmq
)
add_executable
(
teststartwithstop src/TestStartWithStopApplication.cpp
)
target_link_libraries
(
teststartwithstop PUBLIC cameo zmq
)
add_executable
(
teststartwithsimple src/TestStartWithSimpleApplication.cpp
)
target_link_libraries
(
teststartwithsimple PUBLIC cameo zmq
)
add_executable
(
teststartwithveryfast src/TestStartWithVeryFastApplication.cpp
)
target_link_libraries
(
teststartwithveryfast PUBLIC cameo zmq
)
add_executable
(
testerror src/TestErrorApplication.cpp
)
target_link_libraries
(
testerror PUBLIC cameo zmq
)
add_executable
(
teststartwitherror src/TestStartWithErrorApplication.cpp
)
target_link_libraries
(
teststartwitherror PUBLIC cameo zmq
)
add_executable
(
testpublisherloop src/TestPublisherLoopApplication.cpp
)
target_link_libraries
(
testpublisherloop PUBLIC cameo zmq
)
add_executable
(
testresponder src/TestResponderApplication.cpp
)
target_link_libraries
(
testresponder PUBLIC cameo zmq
)
add_executable
(
testrequesterandresponder src/TestRequesterAndResponderApplication.cpp
)
target_link_libraries
(
testrequesterandresponder PUBLIC cameo zmq
)
add_executable
(
testcancel src/TestCancelApplication.cpp
)
target_link_libraries
(
testcancel PUBLIC cameo zmq pthread
)
add_executable
(
testtimeout src/TestTimeoutApplication.cpp
)
target_link_libraries
(
testtimeout PUBLIC cameo zmq
)
add_executable
(
testconnectionchecker src/TestConnectionCheckerApplication.cpp
)
target_link_libraries
(
testconnectionchecker PUBLIC cameo zmq
)
add_executable
(
testfaststream src/TestFastStream.cpp
)
target_link_libraries
(
testfaststream PUBLIC cameo zmq
)
add_executable
(
testinputstream src/TestInputStream.cpp
)
target_link_libraries
(
testinputstream PUBLIC cameo zmq
)
add_executable
(
teststoptimeout src/TestStopTimeoutApplication.cpp
)
target_link_libraries
(
teststoptimeout PUBLIC cameo zmq
)
add_executable
(
responder src/examples/ResponderApplication.cpp
)
target_link_libraries
(
responder PUBLIC cameo zmq
)
add_executable
(
requester src/examples/RequesterApplication.cpp
)
target_link_libraries
(
requester PUBLIC cameo zmq
)
add_executable
(
publisher src/examples/PublisherApplication.cpp
)
target_link_libraries
(
publisher PUBLIC cameo zmq
)
add_executable
(
subscriber src/examples/SubscriberApplication.cpp
)
target_link_libraries
(
subscriber PUBLIC cameo zmq
)
add_executable
(
testrequestertimeout src/TestRequesterApplicationForTimeout.cpp
)
target_link_libraries
(
testrequestertimeout PUBLIC cameo zmq
)
add_executable
(
testrequesterandrespondertimeout src/TestRequesterAndResponderApplicationForTimeout.cpp
)
target_link_libraries
(
testrequesterandrespondertimeout PUBLIC cameo zmq
)
add_executable
(
teststream src/TestStreamApplication.cpp
)
target_link_libraries
(
teststream PUBLIC cameo zmq
)
add_executable
(
teststartstream src/TestStartStreamApplication.cpp
)
target_link_libraries
(
teststartstream PUBLIC cameo zmq pthread
)
add_executable
(
testresponderserver src/TestResponderServer.cpp
)
target_link_libraries
(
testresponderserver PUBLIC cameo zmq
)
add_executable
(
testrequesterclient src/TestRequesterClient.cpp
)
target_link_libraries
(
testrequesterclient PUBLIC cameo zmq
)
add_executable
(
teststorage src/TestStorageApplication.cpp
)
target_link_libraries
(
teststorage PUBLIC cameo zmq
)
add_executable
(
testwaitforstorage src/TestWaitForStorageApplication.cpp
)
target_link_libraries
(
testwaitforstorage PUBLIC cameo zmq
)
add_executable
(
teststartwaitforstorage src/TestStartWithWaitForStorageApplication.cpp
)
target_link_libraries
(
teststartwaitforstorage PUBLIC cameo zmq
)
add_executable
(
testcomport src/TestComPortApplication.cpp
)
target_link_libraries
(
testcomport PUBLIC cameo zmq
)
add_executable
(
teststartcomport src/TestStartWithComPortApplication.cpp
)
target_link_libraries
(
teststartcomport PUBLIC cameo zmq
)
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