aboutsummaryrefslogtreecommitdiffstats
path: root/binding/CMakeLists.txt
blob: f02497fa07b7a5fcc535304f54a531353837bb93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# 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"
        OUTPUT_NAME ${TARGET_NAME}
    )

    TARGET_LINK_LIBRARIES(${TARGET_NAME}
	    ${link_libraries}
    )