freebsd-nq/contrib/libucl/utils/CMakeLists.txt
2021-03-22 15:13:02 +01:00

13 lines
318 B
CMake

PROJECT(libucl-utils C)
FUNCTION(MAKE_UTIL UTIL_NAME UTIL_SRCS)
ADD_EXECUTABLE(${UTIL_NAME} ${UTIL_SRCS})
TARGET_LINK_LIBRARIES(${UTIL_NAME} ucl)
INSTALL(TARGETS ${UTIL_NAME} DESTINATION bin)
ENDFUNCTION()
MAKE_UTIL(ucl_chargen chargen.c)
MAKE_UTIL(ucl_objdump objdump.c)
MAKE_UTIL(ucl_tool ucl-tool.c)