gplate/tags/tests/CMakeLists.txt
author Gary Kramlich <grim@reaperworld.com>
Sun Jul 04 03:34:39 2010 -0500 (22 months ago)
changeset 400 0938cb5d076b
parent 399 6042cc7c5374
permissions -rw-r--r--
the start of the test name standardization

refs #15
     1 enable_testing()
     2 
     3 # define the static library for tag testing
     4 add_library(test-gplate-tag STATIC
     5 	test-gplate-tag.c
     6 )
     7 target_link_libraries(test-gplate-tag gplate)
     8 
     9 # add the text tag tests
    10 add_executable(test-gplate-text-tag test-gplate-text-tag.c)
    11 target_link_libraries(test-gplate-text-tag test-gplate-tag)
    12 list(APPEND TAG_TESTS test-gplate-text-tag)
    13 
    14 # add the variable tag tests
    15 add_executable(test-gplate-variable-tag test-gplate-variable-tag.c)
    16 target_link_libraries(test-gplate-variable-tag test-gplate-tag)
    17 list(APPEND TAG_TESTS test-gplate-variable-tag)
    18 
    19 # add the comment tag tests
    20 add_executable(test-gplate-comment-tag test-gplate-comment-tag.c)
    21 target_link_libraries(test-gplate-comment-tag test-gplate-tag)
    22 list(APPEND TAG_TESTS test-gplate-comment-tag)
    23 
    24 # add the tests for gtester
    25 add_test(GPlateTagTests
    26          ${GTESTER} -k --verbose -o test-gplate-tag.log
    27          ${TAG_TESTS}
    28 )
    29