set(diag_STAT_SRCS ansi_scrubber.cc bookmarks.cc collation-functions.cc command_executor.cc curl_looper.cc db_sub_source.cc elem_to_json.cc environ_vtab.cc extension-functions.c field_overlay_source.cc fs-extension-functions.cc grep_proc.cc hist_source.cc hotkeys.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 papertrail_proc.cc ptimec_rt.cc pretty_printer.cc readline_callbacks.cc readline_curses.cc readline_highlighters.cc readline_possibilities.cc relative_time.cc session_data.cc sequence_matcher.cc shared_buffer.cc shlex.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 timer.cc view_curses.cc views_vtab.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 all_logs_vtab.hh auto_fd.hh auto_mem.hh auto_pid.hh bottom_status_source.hh byte_array.hh chunky_index.hh command_executor.hh concise_index.hh column_namer.hh curl_looper.hh elem_to_json.hh field_overlay_source.hh filter_observer.hh format-text-files.hh grep_highlighter.hh help.hh hotkeys.hh init-sql.hh intern_string.hh k_merge_tree.h log_data_helper.hh log_data_table.hh log_format_impls.cc log_search_table.hh logfile_stats.hh papertrail_proc.hh plain_text_source.hh pretty_printer.hh ptimec.hh pthreadpp.hh readline_callbacks.hh readline_possibilities.hh relative_time.hh sequence_sink.hh shlex.hh spectro_source.hh status_controllers.hh strong_int.hh sysclip.hh term_extra.hh termios_guard.hh textfile_sub_source.hh time_T.hh timer.hh top_status_source.hh url_loader.hh views_vtab.hh yajl/api/yajl_common.h yajl/api/yajl_gen.h yajl/api/yajl_parse.h yajl/api/yajl_tree.h filesystem/fwd.h filesystem/path.h filesystem/resolver.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})