CMakeLists.txt 776 B

12345678910111213141516171819
  1. #######################################
  2. # Add common includes #
  3. #######################################
  4. opener_common_includes()
  5. #######################################
  6. # Add platform-specific includes #
  7. #######################################
  8. opener_platform_support("INCLUDES")
  9. set( CipTestSrc cipepathtest.cpp cipelectronickeytest.cpp cipelectronickeyformattest.cpp cipconnectionmanagertest.cpp cipconnectionobjecttest.cpp cipcommontests.cpp cipstringtests.cpp)
  10. include_directories( ${SRC_DIR}/cip )
  11. add_library( CipTest ${CipTestSrc} )
  12. target_link_libraries( CipTest CIP ENET_ENCAP PLATFORM_GENERIC SAMPLE_APP ${OpENer_PLATFORM}PLATFORM ${PLATFORM_SPEC_LIBS} rt)
  13. target_link_libraries( CipTest gcov ${CPPUTEST_LIBRARY} ${CPPUTESTEXT_LIBRARY} )