blob: b92f80c557130195c992c8c7e330087a9b1953c9 [file] [log] [blame]
Radek Krejcicb293a32020-11-13 15:36:29 +01001# config file for tools
2configure_file(${PROJECT_SOURCE_DIR}/tools/config.h.in ${PROJECT_BINARY_DIR}/tools/config.h @ONLY)
3
Jan Kundrát3fc7f492021-12-17 16:19:23 +01004if(WIN32)
5 find_library(GETOPT_LIBRARY NAMES getopt REQUIRED)
6 find_path(GETOPT_INCLUDE_DIR NAMES getopt.h REQUIRED)
7 message(STATUS "Found <getopt.h> at ${GETOPT_INCLUDE_DIR}, library at ${GETOPT_LIBRARY}")
Jan Kundrát2e3f9352021-12-11 02:16:27 +01008endif()
Radek Krejcicb293a32020-11-13 15:36:29 +01009
Jan Kundrát3fc7f492021-12-17 16:19:23 +010010add_subdirectory(lint)
11add_subdirectory(re)
12
Radek Krejcicb293a32020-11-13 15:36:29 +010013set(format_sources
14 ${format_sources}
15 PARENT_SCOPE)