CMakeLists.txt

# ConsoleTest - console application in straight C++, accessing Xc++ libraries

add_executable(ConsoleTest 
	ConsoleTest.cpp
    ShapeTest.cpp)

cedaAddDependentProject(ConsoleTest)
cedaSetDefaultsForTarget(ConsoleTest)

target_link_libraries(ConsoleTest 
    PUBLIC Ceda::cxUtils 
           Ceda::cxMessage 
           Ceda::cxLss 
           Ceda::cxObject 
           Ceda::cxPersistStore 
           Ceda::cxRpc
           Ceda::cxOperation 
           Ceda::cxWorkingSetIpc
           MyCompany::DateTime
           MyCompany::Shapes
		   MyCompany::Pizza)

add_test(NAME ConsoleTest WORKING_DIRECTORY ${TEST_DIR} COMMAND ConsoleTest)
SET_TESTS_PROPERTIES(ConsoleTest PROPERTIES ENVIRONMENT "PATH=${Ceda_BIN};$ENV{PATH}")