[Cmake-commits] [cmake-commits] barre committed ListTest.cmake.in 1.6 1.7
cmake-commits at cmake.org
cmake-commits at cmake.org
Wed Mar 12 17:02:12 EDT 2008
Update of /cvsroot/CMake/CMake/Tests/CMakeTests
In directory public:/mounts/ram/cvs-serv3656/Tests/CMakeTests
Modified Files:
ListTest.cmake.in
Log Message:
ENH: add REMOVE_DUPLICATES subcommand to LIST command (and test). Remove duplicates from a list (keep the ordering)
Index: ListTest.cmake.in
===================================================================
RCS file: /cvsroot/CMake/CMake/Tests/CMakeTests/ListTest.cmake.in,v
retrieving revision 1.6
retrieving revision 1.7
diff -C 2 -d -r1.6 -r1.7
*** ListTest.cmake.in 15 Aug 2007 14:26:50 -0000 1.6
--- ListTest.cmake.in 12 Mar 2008 21:02:10 -0000 1.7
***************
*** 83,84 ****
--- 83,88 ----
LIST(REVERSE result)
TEST("REVERSE result" "ken;brad;bill;andy")
+
+ SET(result bill andy bill brad ken ken ken)
+ LIST(REMOVE_DUPLICATES result)
+ TEST("REMOVE_DUPLICATES result" "bill;andy;brad;ken")
More information about the Cmake-commits
mailing list