Files
resiprocate/tfm/CMakeLists.txt
Scott Godin 5212341457 Cmake improvements (#387)
- Get windows / Visual Studio cmake build working correctly (both Ninja and solution and vcxproj creation)
- Add post build step for visual studio solutions to copy appropriate OpenSSL and BerkelyDb DLL's to build output so programs can be run and debugged directly
- Get TFM to build, including NetXX and CppUnit biulds
- Enable TFM and TFM tests in GitHub CI / Actions
- Fix and enable a few unit tests
- Re-generate TFM repro certs that had expired
- Add DialogInfoSubClient to cmake
- Address a few compiler warnings
- Fix issue with testTransportSelector when running on windows
- Fix tfm repro tests that were expecting a 480 to be forwarded from a 503 response.  Code was recently changed in repro to send a 500 instead as recommended by RFC3261
- Cleanup CMake Visual Studio folder specifications
- Copy files needed for RFC4475TortureTests and enable it
- Use Cajun from contrib since package is not easy to find
2024-12-03 17:24:10 -05:00

118 lines
2.3 KiB
CMake

add_subdirectory(repro)
add_subdirectory(tfdum)
set(INCLUDES
ActionBase.hxx
AsciiGraphic.hxx
BindPointerAction.hxx
Box.hxx
CheckContacts.hxx
CheckFetchedContacts.hxx
CheckPrivacy.hxx
CommonAction.hxx
CountDown.hxx
CppTestSelector.hxx
CPTextTestProgressListener.hxx
DialogSet.hxx
DnsUtils.hxx
EndPoint.hxx
Event.hxx
ExpectActionEvent.hxx
ExpectAction.hxx
ExpectFunctorDefs.hxx
Expect.hxx
PortAllocator.hxx
predicates/ExpectUtils.hxx
predicates/NotifyContents.hxx
predicates/SubscribeExpired.hxx
predicates/SubscribeExpires.hxx
Renderer.hxx
Resolver.hxx
RouteGuard.hxx
RtpEvent.hxx
SeqDecls.hxx
SeqDefns.hxx
SequenceClassConstructorDecls.hxx
SequenceClassConstructorDefns.hxx
Sequence.hxx
SequenceSet.hxx
SequenceSetThread.hxx
SipEvent.hxx
SipRawMessage.hxx
Source.hxx
StunEndPoint.hxx
StunEvent.hxx
StunServer.hxx
SubDecls.hxx
SubDefns.hxx
TelnetClient.hxx
TestEndPoint.hxx
TestException.hxx
TestProxy.hxx
TestRtp.hxx
TestSipElement.hxx
TestSipEndPoint.hxx
TestUser.hxx
TfmDns.hxx
TfmHelper.hxx
TransportDriver.hxx
WrapperEvent.hxx
)
add_library(tfm
ActionBase.cxx
CppTestSelector.cxx
StunEndPoint.cxx
StunServer.cxx
EndPoint.cxx
TfmHelper.cxx
Expect.cxx
StunEvent.cxx
TfmDns.cxx
CPTestProgressListener.cxx
TestRtp.cxx
RtpEvent.cxx
CheckPrivacy.cxx
AsciiGraphic.cxx
Box.cxx
CheckContacts.cxx
CheckFetchedContacts.cxx
CountDown.cxx
DialogSet.cxx
DnsUtils.cxx
Event.cxx
ExpectAction.cxx
ExpectActionEvent.cxx
Renderer.cxx
Resolver.cxx
RouteGuard.cxx
Sequence.cxx
SequenceSet.cxx
SequenceSetThread.cxx
SipEvent.cxx
SipRawMessage.cxx
Source.cxx
TelnetClient.cxx
TestEndPoint.cxx
TestException.cxx
TestProxy.cxx
TestSipEndPoint.cxx
TestUser.cxx
TransportDriver.cxx
predicates/ExpectUtils.cxx
predicates/SubscribeExpired.cxx
predicates/SubscribeExpires.cxx
predicates/NotifyContents.cxx
${INCLUDES}
)
target_include_directories(tfm PUBLIC )
target_link_libraries(tfm dum ${NETXX_LIBRARIES} ${CPPUNIT_LIBRARIES})
set_target_properties(tfm PROPERTIES FOLDER tfm)
version_libname(tfm)
install(TARGETS tfm DESTINATION ${CMAKE_INSTALL_LIBDIR})