diff options
Diffstat (limited to 'test/CMakeLists.txt')
-rw-r--r-- | test/CMakeLists.txt | 116 |
1 files changed, 0 insertions, 116 deletions
diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt deleted file mode 100644 index cb0052e1a..000000000 --- a/test/CMakeLists.txt +++ /dev/null @@ -1,116 +0,0 @@ -find_package(Gstreamer-1.0 REQUIRED) -find_package(Glib-2.0 REQUIRED) - -# --- GoogleTest example -#add_subdirectory(./gtest-example) - -include_directories( - ${CMAKE_SOURCE_DIR}/test/components/include) - -# --- components tests -#add_subdirectory(./components) -#add_subdirectory(./thirdPartyLibs) -add_subdirectory(./tools) - -set (INCLUDE_DIR - ${GMOCK_INCLUDE_DIRECTORY} - ${JSONCPP_INCLUDE_DIRECTORY} - ${MESSAGE_BROKER_INCLUDE_DIRECTORY} - ${LOG4CXX_INCLUDE_DIRECTORY} - ${CMAKE_SOURCE_DIR}/src/components/utils/include - ../src/appMain - ../src/components/application_manager/include - ../src/components/hmi_message_handler/include - ../src/components/request_watchdog/include - ../src/components/media_manager/include - ../src/components/config_profile/include - ../src/components/policy/src/policy/include - ../src/components/policy/src/policy/usage_statistics/include - ../src/components/protocol_handler/include - ../src/components/transport_manager/include - ../src/components/connection_handler/include - ${SecurityManagerIncludeDir} - ../src/components/formatters/include - ../src/components/smart_objects/include - ../src/components/formatters/include - ../src/components/utils/include/ - ../src/components/resumption/include/ - ../test/components/mobile_message_handler/include/ - ../test/components/request_watchdog/include/ - ../test/components/media_manager/include - ../test/components/protocol_handler/include/ - ../test/components/utils/include - ../test/components/json_handler/include - ../test/components/smart_objects - ../test/components/smart_objects/SchemaItem - ../test/components/transport_manager - ../test/components/connection_handler/include - ../test/components/security_manager/include - ../test/components/ - ../test/thirdPartyLibs/jsoncpp/include - ../test/components/application_manager - ../test/components/application_manager/rpc/include - ${CMAKE_BINARY_DIR}/src/components/ - ${CMAKE_BINARY_DIR} -# /usr/lib/i386-linux-gnu/glib-2.0/include -# /usr/lib/x86_64-linux-gnu/glib-2.0/include/ -# ${GSTREAMER_gst_INCLUDE_DIR} -# ${GLIB_glib_2_INCLUDE_DIR} -) - -set(LIBRARIES - MediaManager - ApplicationManager - gtest - gtest_main - gmock - gmock_main - formatters - HMI_API - v4_protocol_v1_2_no_extra - SmartObjects - ProtocolHandler - Utils - ConfigProfile - #test_JSONHandler_v4_protocol_v2_0_revP - #test_json_handler - #test_SmartObjectTest - #test_FormattersCommandsTest - #test_UtilsTest - #test_RequestWatchdogTest - #test_ProtocolHandlerTest - #test_JSONCPPTest - #test_MobileMessageHandlerTest - connectionHandler - MOBILE_API - jsoncpp - TransportManager - HMIMessageHandler - MessageBroker - MessageBrokerClient - MessageBrokerServer - encryption - ${RTLIB} - # ${GSTREAMER_gstreamer_LIBRARY} - Resumption - Policy - ${SecurityManagerLibrary} -) -if(ENABLE_SECURITY) - LIST(APPEND LIBRARIES test_SecurityManager) -endif() - -if (BUILD_USB_SUPPORT) -if (CMAKE_SYSTEM_NAME STREQUAL "Linux") - list(APPEND LIBRARIES Libusb-1.0.16) -endif() -endif() - -#add_executable("test_suit" "./test_suit.cc") -#file(COPY ${CMAKE_SOURCE_DIR}/mycert.pem ${CMAKE_SOURCE_DIR}/mykey.pem DESTINATION ${CMAKE_BINARY_DIR}/test/) -#file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/log4cxx.properties DESTINATION ${CMAKE_CURRENT_BINARY_DIR}) - -#include_directories(${INCLUDE_DIR}) -#target_link_libraries("test_suit" ${LIBRARIES}) - -# vim: set ts=2 sw=2 et: |