3 # define the static library for tag testing
4 add_library(test-gplate-tag STATIC
7 target_link_libraries(test-gplate-tag gplate)
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)
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)
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)
24 # add the tests for gtester
25 add_test(GPlateTagTests
26 ${GTESTER} -k --verbose -o test-gplate-tag.log