#	/tip-proto/test/CMakeLists.txt
#	
#	@author zmij
#	@date Dec 10, 2015

cmake_minimum_required(VERSION 2.6)

find_package(GTest REQUIRED)
include_directories(${GTEST_INCLUDE_DIRS})

set(test_SRCS
    static_tests.cpp
    bits_tests.cpp
    buffers_test.cpp
)

add_executable(test-wire ${test_SRCS})
target_link_libraries(test-wire
    ${GTEST_BOTH_LIBRARIES}
    ${CMAKE_THREAD_LIBS_INIT}
    ${WIRE_LIB}
)

if (GTEST_XML_OUTPUT)
    set (
        TEST_ARGS --gtest_output=xml:test-pg-async-detail.xml
    )
endif()

add_test(
    NAME test-wire
    COMMAND test-wire ${TEST_ARGS}
)
 
#	/tip-proto/test/CMakeLists.txt
#	
#	@author zmij
#	@date Dec 10, 2015

cmake_minimum_required(VERSION 2.6)

find_package(GTest REQUIRED)
include_directories(${GTEST_INCLUDE_DIRS})

set(test_SRCS
    static_tests.cpp
    bits_tests.cpp
    buffers_test.cpp
)

add_executable(test-wire ${test_SRCS})
target_link_libraries(test-wire
    ${GTEST_BOTH_LIBRARIES}
    ${CMAKE_THREAD_LIBS_INIT}
    ${WIRE_LIB}
)

if (GTEST_XML_OUTPUT)
    set (
        TEST_ARGS --gtest_output=xml:test-wire.xml
    )
endif()

add_test(
    NAME test-wire
    COMMAND test-wire ${TEST_ARGS}
)
 
Rename gtext xml output file
Rename gtext xml output file
