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