2014-09-29 05:36:07 +00:00
|
|
|
|
2015-08-08 03:04:28 +00:00
|
|
|
include_directories(../../lbuild/src ../src/ /opt/local/include)
|
2014-09-29 05:36:07 +00:00
|
|
|
|
|
|
|
add_executable(test_chunky_index test_chunky_index.cc)
|
2015-08-08 03:04:28 +00:00
|
|
|
add_executable(test_pcrepp test_pcrepp.cc ../src/lnav_log.cc ../src/pcrepp.cc)
|
2015-09-14 15:56:42 +00:00
|
|
|
add_executable(test_reltime test_reltime.cc
|
|
|
|
../src/relative_time.cc
|
|
|
|
../src/pcrepp.cc
|
|
|
|
../src/lnav_log.cc)
|
2016-04-03 03:58:20 +00:00
|
|
|
add_executable(test_date_time_scanner test_date_time_scanner.cc
|
|
|
|
../src/lnav_util.cc
|
|
|
|
../../lbuild/src/time_fmts.cc
|
|
|
|
../src/ptimec_rt.cc
|
|
|
|
../src/pcrepp.cc
|
|
|
|
../src/lnav_log.cc
|
|
|
|
../src/spookyhash/SpookyV2.cpp)
|
2016-08-22 13:45:27 +00:00
|
|
|
add_executable(test_abbrev test_abbrev.cc
|
|
|
|
../src/lnav_util.cc
|
|
|
|
../../lbuild/src/time_fmts.cc
|
|
|
|
../src/ptimec_rt.cc
|
|
|
|
../src/pcrepp.cc
|
|
|
|
../src/lnav_log.cc
|
|
|
|
../src/spookyhash/SpookyV2.cpp)
|
2017-03-26 13:02:53 +00:00
|
|
|
add_executable(test_help_text_formatter test_help_text_formatter.cc
|
|
|
|
../src/help_text_formatter.cc
|
|
|
|
../src/view_curses.cc
|
|
|
|
../src/lnav_log.cc
|
|
|
|
../src/ansi_scrubber.cc
|
|
|
|
../src/pcrepp.cc)
|
|
|
|
add_executable(drive_sql_anno drive_sql_anno.cc ../src/lnav_log.cc ../src/pcrepp.cc)
|
2015-08-08 03:04:28 +00:00
|
|
|
link_directories(/opt/local/lib)
|
|
|
|
target_link_libraries(test_pcrepp /opt/local/lib/libpcre.a)
|
2015-09-14 15:56:42 +00:00
|
|
|
target_link_libraries(test_reltime /opt/local/lib/libpcre.a)
|
2016-04-03 03:58:20 +00:00
|
|
|
target_link_libraries(test_date_time_scanner /opt/local/lib/libpcre.a)
|
2016-08-22 13:45:27 +00:00
|
|
|
target_link_libraries(test_abbrev /opt/local/lib/libpcre.a)
|
2017-03-26 13:02:53 +00:00
|
|
|
target_link_libraries(drive_sql_anno /opt/local/lib/libpcre.a)
|
|
|
|
target_link_libraries(test_help_text_formatter
|
|
|
|
/opt/local/lib/libpcre.a
|
|
|
|
/opt/local/lib/libncurses.a)
|