Radek Krejci | cb293a3 | 2020-11-13 15:36:29 +0100 | [diff] [blame] | 1 | # config file for tools |
| 2 | configure_file(${PROJECT_SOURCE_DIR}/tools/config.h.in ${PROJECT_BINARY_DIR}/tools/config.h @ONLY) |
| 3 | |
Jan Kundrát | 3fc7f49 | 2021-12-17 16:19:23 +0100 | [diff] [blame] | 4 | if(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át | 2e3f935 | 2021-12-11 02:16:27 +0100 | [diff] [blame] | 8 | endif() |
Radek Krejci | cb293a3 | 2020-11-13 15:36:29 +0100 | [diff] [blame] | 9 | |
Jan Kundrát | 3fc7f49 | 2021-12-17 16:19:23 +0100 | [diff] [blame] | 10 | add_subdirectory(lint) |
| 11 | add_subdirectory(re) |
| 12 | |
Radek Krejci | cb293a3 | 2020-11-13 15:36:29 +0100 | [diff] [blame] | 13 | set(format_sources |
| 14 | ${format_sources} |
| 15 | PARENT_SCOPE) |