3 # define the static library for tag testing
4 add_library(gplate-tag-test STATIC
7 target_link_libraries(gplate-tag-test gplate)
9 # add the text tag tests
10 add_executable(test-text-tag gplate-text-tag-test.c)
11 target_link_libraries(test-text-tag gplate-tag-test)
12 list(APPEND TAG_TESTS test-text-tag)
14 # add the variable tag tests
15 add_executable(test-variable-tag gplate-variable-tag-test.c)
16 target_link_libraries(test-variable-tag gplate-tag-test)
17 list(APPEND TAG_TESTS test-variable-tag)
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)
24 # add the tests for gtester
25 add_test(GPlateTagTests ${GTESTER} -k --verbose ${TAG_TESTS})