$ svn diff config/rtt_macros.cmake
Index: config/rtt_macros.cmake
===================================================================
--- config/rtt_macros.cmake (revision 31306)
+++ config/rtt_macros.cmake (working copy)
@@ -31,13 +31,5 @@
-MACRO( GLOBAL_ADD_TESTS TEST_NAME )
- IF(BUILD_TESTS)
- STRING(LENGTH "${ARGN}" NOTEMPTY)
- IF(NOTEMPTY)
- ADD_EXECUTABLE( ${TEST_NAME} ${ARGN} )
- ENDIF(NOTEMPTY)
- ENDIF(BUILD_TESTS)
-ENDMACRO( GLOBAL_ADD_TESTS TEST_NAME)
deprecated macro?
On Wed, Dec 16, 2009 at 20:25, Klaas Gadeyne <klaas [dot] gadeyne [..] ...> wrote:
> $ svn diff config/rtt_macros.cmake
> Index: config/rtt_macros.cmake
> ===================================================================
> --- config/rtt_macros.cmake (revision 31306)
> +++ config/rtt_macros.cmake (working copy)
> @@ -31,13 +31,5 @@
>
>
>
> -MACRO( GLOBAL_ADD_TESTS TEST_NAME )
> - IF(BUILD_TESTS)
> - STRING(LENGTH "${ARGN}" NOTEMPTY)
> - IF(NOTEMPTY)
> - ADD_EXECUTABLE( ${TEST_NAME} ${ARGN} )
> - ENDIF(NOTEMPTY)
> - ENDIF(BUILD_TESTS)
> -ENDMACRO( GLOBAL_ADD_TESTS TEST_NAME)
Yes, it may go.
Peter