gplate/CMakeLists.txt
author Gary Kramlich <grim@reaperworld.com>
Sat Jun 26 15:25:18 2010 -0500 (23 months ago)
changeset 388 301bcc8bdad0
parent 383 ef7bf1f0ee7d
permissions -rw-r--r--
moving more testing stuff to it's new home and implementation
     1 add_subdirectory(functions)
     2 add_subdirectory(tests)
     3 add_subdirectory(tags)
     4 add_subdirectory(variables)
     5 
     6 enable_testing()
     7 
     8 set(GPLATE_HEADERS
     9 	gplate.h
    10 	gplate-collection.h
    11 	gplate-config.h
    12 	gplate-errors.h
    13 	gplate-function.h
    14 	gplate-iterator.h
    15 	gplate-library.h
    16 	gplate-tag.h
    17 	gplate-template.h
    18 	gplate-util.h
    19 	gplate-variable.h
    20 )
    21 
    22 add_library(gplate SHARED
    23 	gplate-collection.c
    24 	gplate-config.c
    25 	gplate-errors.c
    26 	gplate-function.c
    27 	gplate-iterator.c
    28 	gplate-library.c
    29 	gplate-tag.c
    30 	gplate-template.c
    31 	gplate-util.c
    32 	gplate-variable.c
    33 )
    34 
    35 target_link_libraries(gplate
    36 	${GLIB_LIBRARIES}
    37 	${GMODULE_LIBRARIES}
    38 	gplate-functions
    39 	gplate-tags
    40 	gplate-variables
    41 )
    42