set(diag_STAT_SRCS ansi_scrubber.cc bookmarks.cc collation-functions.cc db_sub_source.cc environ_vtab.cc extension-functions.c fs-extension-functions.cc grep_proc.cc hist_source.cc intern_string.cc json-extension-functions.cc json_op.cc json_ptr.cc line_buffer.cc listview_curses.cc lnav_commands.cc lnav_config.cc lnav_log.cc lnav_util.cc log_accel.cc log_format.cc log_format_loader.cc logfile.cc logfile_sub_source.cc network-extension-functions.cc data_scanner.cc data_parser.cc ptimec_rt.cc readline_curses.cc readline_highlighters.cc session_data.cc sequence_matcher.cc shared_buffer.cc sqlite-extension-func.c statusview_curses.cc string-extension-functions.cc sysclip.cc pcrepp.cc piper_proc.cc sql_util.cc state-extension-functions.cc strnatcmp.c textview_curses.cc view_curses.cc vt52_curses.cc log_vtab_impl.cc xterm_mouse.cc yajlpp.cc yajl/yajl.c yajl/yajl_alloc.c yajl/yajl_alloc.h yajl/yajl_buf.c yajl/yajl_buf.h yajl/yajl_bytestack.h yajl/yajl_encode.c yajl/yajl_encode.h yajl/yajl_gen.c yajl/yajl_lex.c yajl/yajl_lex.h yajl/yajl_parser.c yajl/yajl_parser.h yajl/yajl_tree.c yajl/yajl_version.c spookyhash/SpookyV2.cpp auto_fd.hh auto_mem.hh auto_pid.hh bottom_status_source.hh byte_array.hh chunky_index.hh concise_index.hh column_namer.hh filter_observer.hh format-text-files.hh grapher.hh grep_highlighter.hh help.hh init-sql.hh intern_string.hh k_merge_tree.h log_data_helper.hh log_data_table.hh log_format_impls.cc logfile_stats.hh pretty_printer.hh ptimec.hh sequence_sink.hh status_controllers.hh strong_int.hh sysclip.hh term_extra.hh termios_guard.hh textfile_sub_source.hh time_T.hh top_status_source.hh yajl/api/yajl_common.h yajl/api/yajl_gen.h yajl/api/yajl_parse.h yajl/api/yajl_tree.h ../../lbuild/src/config.h ) set(lnav_SRCS lnav.cc) include_directories(../../lbuild/src /opt/local/include) add_executable(lnav ${lnav_SRCS} ${diag_STAT_SRCS})