Commit 6fd2627f authored by legoc's avatar legoc

Moved C++ sources

parent 7d37a16b
......@@ -24,138 +24,141 @@ find_package(cameo 1.1.0 REQUIRED)
# Programs
#------------------------------------------------------------
add_executable(openport src/OpenPort.cpp)
# Tests
add_executable(openport src/tests/OpenPort.cpp)
target_link_libraries(openport PUBLIC cameo zmq)
add_executable(testcameo src/Test.cpp)
add_executable(testcameo src/tests/Test.cpp)
target_link_libraries(testcameo PUBLIC cameo zmq)
add_executable(testveryfast src/TestVeryFast.cpp)
add_executable(testveryfast src/tests/TestVeryFast.cpp)
target_link_libraries(testveryfast PUBLIC cameo zmq)
add_executable(testsimple src/TestSimpleApplication.cpp)
add_executable(testsimple src/tests/TestSimpleApplication.cpp)
target_link_libraries(testsimple PUBLIC cameo zmq)
add_executable(testbadendpoint src/TestBadEndpoint.cpp)
add_executable(testbadendpoint src/tests/TestBadEndpoint.cpp)
target_link_libraries(testbadendpoint PUBLIC cameo zmq)
add_executable(teststate src/TestStateApplication.cpp)
add_executable(teststate src/tests/TestStateApplication.cpp)
target_link_libraries(teststate PUBLIC cameo zmq)
add_executable(testpublisher src/TestPublisherApplication.cpp)
add_executable(testpublisher src/tests/TestPublisherApplication.cpp)
target_link_libraries(testpublisher PUBLIC cameo zmq)
add_executable(testpublishertwo src/TestPublisherTwoApplication.cpp)
add_executable(testpublishertwo src/tests/TestPublisherTwoApplication.cpp)
target_link_libraries(testpublishertwo PUBLIC cameo zmq)
add_executable(testsubscriber src/TestSubscriberApplication.cpp)
add_executable(testsubscriber src/tests/TestSubscriberApplication.cpp)
target_link_libraries(testsubscriber PUBLIC cameo zmq)
add_executable(testsubscriberandpublisher src/TestSubscriberAndPublisherApplication.cpp)
add_executable(testsubscriberandpublisher src/tests/TestSubscriberAndPublisherApplication.cpp)
target_link_libraries(testsubscriberandpublisher PUBLIC cameo zmq)
add_executable(testsubscriberandpublishertwo src/TestSubscriberAndPublisherTwoApplication.cpp)
add_executable(testsubscriberandpublishertwo src/tests/TestSubscriberAndPublisherTwoApplication.cpp)
target_link_libraries(testsubscriberandpublishertwo PUBLIC cameo zmq)
add_executable(testnonsyncsubscriber src/TestNonSyncSubscriberApplication.cpp)
add_executable(testnonsyncsubscriber src/tests/TestNonSyncSubscriberApplication.cpp)
target_link_libraries(testnonsyncsubscriber PUBLIC cameo zmq)
add_executable(testnonsyncsubscribersandpublisher src/TestNonSyncSubscribersAndPublisherApplication.cpp)
add_executable(testnonsyncsubscribersandpublisher src/tests/TestNonSyncSubscribersAndPublisherApplication.cpp)
target_link_libraries(testnonsyncsubscribersandpublisher PUBLIC cameo zmq)
add_executable(testresult src/TestResultApplication.cpp)
add_executable(testresult src/tests/TestResultApplication.cpp)
target_link_libraries(testresult PUBLIC cameo zmq)
add_executable(teststartwithresult src/TestStartWithResultApplication.cpp)
add_executable(teststartwithresult src/tests/TestStartWithResultApplication.cpp)
target_link_libraries(teststartwithresult PUBLIC cameo zmq)
add_executable(teststop src/TestStopApplication.cpp)
add_executable(teststop src/tests/TestStopApplication.cpp)
target_link_libraries(teststop PUBLIC cameo zmq)
add_executable(teststartwithstop src/TestStartWithStopApplication.cpp)
add_executable(teststartwithstop src/tests/TestStartWithStopApplication.cpp)
target_link_libraries(teststartwithstop PUBLIC cameo zmq)
add_executable(teststartwithsimple src/TestStartWithSimpleApplication.cpp)
add_executable(teststartwithsimple src/tests/TestStartWithSimpleApplication.cpp)
target_link_libraries(teststartwithsimple PUBLIC cameo zmq)
add_executable(teststartwithveryfast src/TestStartWithVeryFastApplication.cpp)
add_executable(teststartwithveryfast src/tests/TestStartWithVeryFastApplication.cpp)
target_link_libraries(teststartwithveryfast PUBLIC cameo zmq)
add_executable(testerror src/TestErrorApplication.cpp)
add_executable(testerror src/tests/TestErrorApplication.cpp)
target_link_libraries(testerror PUBLIC cameo zmq)
add_executable(teststartwitherror src/TestStartWithErrorApplication.cpp)
add_executable(teststartwitherror src/tests/TestStartWithErrorApplication.cpp)
target_link_libraries(teststartwitherror PUBLIC cameo zmq)
add_executable(testpublisherloop src/TestPublisherLoopApplication.cpp)
add_executable(testpublisherloop src/tests/TestPublisherLoopApplication.cpp)
target_link_libraries(testpublisherloop PUBLIC cameo zmq)
add_executable(testresponder src/TestResponderApplication.cpp)
add_executable(testresponder src/tests/TestResponderApplication.cpp)
target_link_libraries(testresponder PUBLIC cameo zmq)
add_executable(testrequesterandresponder src/TestRequesterAndResponderApplication.cpp)
add_executable(testrequesterandresponder src/tests/TestRequesterAndResponderApplication.cpp)
target_link_libraries(testrequesterandresponder PUBLIC cameo zmq)
add_executable(testcancel src/TestCancelApplication.cpp)
add_executable(testcancel src/tests/TestCancelApplication.cpp)
target_link_libraries(testcancel PUBLIC cameo zmq pthread)
add_executable(testtimeout src/TestTimeoutApplication.cpp)
add_executable(testtimeout src/tests/TestTimeoutApplication.cpp)
target_link_libraries(testtimeout PUBLIC cameo zmq)
add_executable(testconnectionchecker src/TestConnectionCheckerApplication.cpp)
add_executable(testconnectionchecker src/tests/TestConnectionCheckerApplication.cpp)
target_link_libraries(testconnectionchecker PUBLIC cameo zmq)
add_executable(testfaststream src/TestFastStream.cpp)
add_executable(testfaststream src/tests/TestFastStream.cpp)
target_link_libraries(testfaststream PUBLIC cameo zmq)
add_executable(testinputstream src/TestInputStream.cpp)
add_executable(testinputstream src/tests/TestInputStream.cpp)
target_link_libraries(testinputstream PUBLIC cameo zmq)
add_executable(teststoptimeout src/TestStopTimeoutApplication.cpp)
add_executable(teststoptimeout src/tests/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)
add_executable(testrequestertimeout src/tests/TestRequesterApplicationForTimeout.cpp)
target_link_libraries(testrequestertimeout PUBLIC cameo zmq)
add_executable(testrequesterandrespondertimeout src/TestRequesterAndResponderApplicationForTimeout.cpp)
add_executable(testrequesterandrespondertimeout src/tests/TestRequesterAndResponderApplicationForTimeout.cpp)
target_link_libraries(testrequesterandrespondertimeout PUBLIC cameo zmq)
add_executable(teststream src/TestStreamApplication.cpp)
add_executable(teststream src/tests/TestStreamApplication.cpp)
target_link_libraries(teststream PUBLIC cameo zmq)
add_executable(teststartstream src/TestStartStreamApplication.cpp)
add_executable(teststartstream src/tests/TestStartStreamApplication.cpp)
target_link_libraries(teststartstream PUBLIC cameo zmq pthread)
add_executable(testresponderserver src/TestResponderServer.cpp)
add_executable(testresponderserver src/tests/TestResponderServer.cpp)
target_link_libraries(testresponderserver PUBLIC cameo zmq)
add_executable(testrequesterclient src/TestRequesterClient.cpp)
add_executable(testrequesterclient src/tests/TestRequesterClient.cpp)
target_link_libraries(testrequesterclient PUBLIC cameo zmq)
add_executable(teststorage src/TestStorageApplication.cpp)
add_executable(teststorage src/tests/TestStorageApplication.cpp)
target_link_libraries(teststorage PUBLIC cameo zmq)
add_executable(testwaitforstorage src/TestWaitForStorageApplication.cpp)
add_executable(testwaitforstorage src/tests/TestWaitForStorageApplication.cpp)
target_link_libraries(testwaitforstorage PUBLIC cameo zmq)
add_executable(teststartwaitforstorage src/TestStartWithWaitForStorageApplication.cpp)
add_executable(teststartwaitforstorage src/tests/TestStartWithWaitForStorageApplication.cpp)
target_link_libraries(teststartwaitforstorage PUBLIC cameo zmq)
add_executable(testcomport src/TestComPortApplication.cpp)
add_executable(testcomport src/tests/TestComPortApplication.cpp)
target_link_libraries(testcomport PUBLIC cameo zmq)
add_executable(teststartcomport src/TestStartWithComPortApplication.cpp)
add_executable(teststartcomport src/tests/TestStartWithComPortApplication.cpp)
target_link_libraries(teststartcomport PUBLIC cameo zmq)
# Examples
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)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment