xref: /freebsd/contrib/libucl/utils/CMakeLists.txt (revision 02e9120893770924227138ba49df1edb3896112a)
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