gplate/tags/tests/CMakeLists.txt
author Gary Kramlich <grim@reaperworld.com>
Fri Jul 02 02:56:50 2010 -0500 (22 months ago)
changeset 389 8baf0603ff07
parent 386 d52926bcad47
child 391 20d032b30b6a
permissions -rw-r--r--
Create a sublibrary for the tag testing. I'll probably do this for all components going forward.

Pretty much just reimplemented the tests that were created for check with gtester and ctest
grim@386
     1
enable_testing()
grim@386
     2
grim@389
     3
# define the static library for tag testing
grim@389
     4
add_library(gplate-tag-test STATIC
grim@389
     5
	gplate-tag-test.c
grim@389
     6
)
grim@389
     7
target_link_libraries(gplate-tag-test gplate)
grim@389
     8
grim@389
     9
# add the text tag tests
grim@386
    10
add_executable(test-text-tag test-text-tag.c)
grim@389
    11
target_link_libraries(test-text-tag gplate-tag-test)
grim@386
    12
add_test(GPlateTextTag test-text-tag)
grim@386
    13
grim@389
    14
# add the variable tag tests
grim@389
    15
add_executable(test-variable-tag test-variable-tag.c)
grim@389
    16
target_link_libraries(test-variable-tag gplate-tag-test)
grim@389
    17
add_test(GPlateVariableTag test-variable-tag)
grim@389
    18