aboutsummaryrefslogtreecommitdiffstats
path: root/binding/CMakeLists.txt
blob: b1dfac91548e46a6aea5a6cbae48368bf4f2facf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Add target to project dependency list
PROJECT_TARGET_ADD(taskmanager)

    # Define project Targets
    file(GLOB sourcelist "*.c")

    # Define project Targets
    ADD_LIBRARY(${TARGET_NAME} MODULE ${sourcelist})

    # Binder exposes a unique public entry point
    SET_TARGET_PROPERTIES(${TARGET_NAME} PROPERTIES
	PREFIX "afb-"
        LABELS "BINDING"
	LINK_FLAGS  ${BINDINGS_LINK_FLAG}
        OUTPUT_NAME ${TARGET_NAME}
    )

    TARGET_LINK_LIBRARIES(${TARGET_NAME}
	    ${link_libraries}
    )