From 9930ef72ddaf8930a9bf3e574b7de69f73ecbf87 Mon Sep 17 00:00:00 2001 From: Greg Wicks Date: Mon, 22 Jun 2015 20:59:00 -0400 Subject: Implement new argument parsing using getopt and add the corresponding library to externals --- externals/getopt/CMakeLists.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 externals/getopt/CMakeLists.txt (limited to 'externals/getopt/CMakeLists.txt') diff --git a/externals/getopt/CMakeLists.txt b/externals/getopt/CMakeLists.txt new file mode 100644 index 00000000..b4709a50 --- /dev/null +++ b/externals/getopt/CMakeLists.txt @@ -0,0 +1,11 @@ +set(SRCS + getopt.c + ) +set(HEADERS + getopt.h + ) + +create_directory_groups(${SRCS} ${HEADERS}) +add_library(getopt ${SRCS} ${HEADERS}) +target_compile_definitions(getopt INTERFACE STATIC_GETOPT) +target_include_directories(getopt INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) \ No newline at end of file -- cgit v1.2.3