1 From 77631a9cf500a578338a83bc230c419bf2a05b50 Mon Sep 17 00:00:00 2001
2 From: xantares <xantares09@hotmail.com>
3 Date: Fri, 14 Nov 2014 19:46:18 +0100
4 Subject: [PATCH] Rename test, fixed cmake warning.
6 Signed-off-by: Romain Naour <romain.naour@openwide.fr>
8 CMakeLists.txt | 10 +++++-----
9 1 file changed, 5 insertions(+), 5 deletions(-)
11 diff --git a/CMakeLists.txt b/CMakeLists.txt
12 index 4375bb9..4a8f91d 100644
15 @@ -53,10 +53,10 @@ set_target_properties(tinyxml2 PROPERTIES
16 VERSION "${GENERIC_LIB_VERSION}"
\r
17 SOVERSION "${GENERIC_LIB_SOVERSION}")
\r
19 -add_executable(test xmltest.cpp)
\r
20 -add_dependencies(test tinyxml2)
\r
21 -add_dependencies(test ${TARGET_DATA_COPY})
\r
22 -target_link_libraries(test tinyxml2)
\r
23 +add_executable(xmltest xmltest.cpp)
\r
24 +add_dependencies(xmltest tinyxml2)
\r
25 +add_dependencies(xmltest ${TARGET_DATA_COPY})
\r
26 +target_link_libraries(xmltest tinyxml2)
\r
29 install(TARGETS tinyxml2
\r
30 @@ -76,4 +76,4 @@ endforeach()
31 configure_file(tinyxml2.pc.in tinyxml2.pc @ONLY)
\r
32 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/tinyxml2.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
\r
34 -#add_test(test ${SAMPLE_NAME} COMMAND $<TARGET_FILE:${SAMPLE_NAME}>)
\r
35 +#add_test(xmltest ${SAMPLE_NAME} COMMAND $<TARGET_FILE:${SAMPLE_NAME}>)
\r