gplate/tags/tests/CMakeLists.txt
author Gary Kramlich <grim@reaperworld.com>
Sun Jul 04 02:55:48 2010 -0500 (22 months ago)
changeset 398 f378b0ef5573
parent 396 2771744219bd
child 399 6042cc7c5374
permissions -rw-r--r--
moved the rest of the tag tests to the new test filename format
     1 enable_testing()
     2 
     3 # define the static library for tag testing
     4 add_library(gplate-tag-test STATIC
     5 	gplate-tag-test.c
     6 )
     7 target_link_libraries(gplate-tag-test gplate)
     8 
     9 # add the text tag tests
    10 add_executable(gplate-text-tag-test gplate-text-tag-test.c)
    11 target_link_libraries(gplate-text-tag-test gplate-tag-test)
    12 list(APPEND TAG_TESTS gplate-text-tag-test)
    13 
    14 # add the variable tag tests
    15 add_executable(gplate-variable-tag-test gplate-variable-tag-test.c)
    16 target_link_libraries(gplate-variable-tag-test gplate-tag-test)
    17 list(APPEND TAG_TESTS gplate-variable-tag-test)
    18 
    19 # add the comment tag tests
    20 add_executable(gplate-comment-tag-test gplate-comment-tag-test.c)
    21 target_link_libraries(gplate-comment-tag-test gplate-tag-test)
    22 list(APPEND TAG_TESTS gplate-comment-tag-test)
    23 
    24 # add the tests for gtester
    25 add_test(GPlateTagTests ${GTESTER} -k --verbose ${TAG_TESTS})
    26