xref: /freebsd/contrib/libucl/utils/CMakeLists.txt (revision 2e3507c25e42292b45a5482e116d278f5515d04d)
1
2PROJECT(libucl-utils C)
3
4FUNCTION(MAKE_UTIL UTIL_NAME UTIL_SRCS)
5    ADD_EXECUTABLE(${UTIL_NAME} ${UTIL_SRCS})
6    TARGET_LINK_LIBRARIES(${UTIL_NAME} ucl)
7    INSTALL(TARGETS ${UTIL_NAME} DESTINATION bin)
8ENDFUNCTION()
9
10MAKE_UTIL(ucl_chargen chargen.c)
11MAKE_UTIL(ucl_objdump objdump.c)
12MAKE_UTIL(ucl_tool ucl-tool.c)
13