mirror of https://github.com/tstack/lnav
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
656 B
CMake
33 lines
656 B
CMake
3 years ago
|
include(cmake/folders.cmake)
|
||
|
|
||
|
include(CTest)
|
||
|
if(BUILD_TESTING)
|
||
|
add_subdirectory(test)
|
||
|
endif()
|
||
|
|
||
|
add_custom_target(
|
||
|
run-exe
|
||
|
COMMAND lnav
|
||
|
VERBATIM
|
||
|
)
|
||
|
add_dependencies(run-exe lnav)
|
||
|
|
||
|
option(BUILD_MCSS_DOCS "Build documentation using Doxygen and m.css" OFF)
|
||
|
if(BUILD_MCSS_DOCS)
|
||
|
include(cmake/docs.cmake)
|
||
|
endif()
|
||
|
|
||
|
option(ENABLE_COVERAGE "Enable coverage support separate from CTest's" OFF)
|
||
|
if(ENABLE_COVERAGE)
|
||
|
include(cmake/coverage.cmake)
|
||
|
endif()
|
||
|
|
||
|
if(CMAKE_HOST_SYSTEM_NAME STREQUAL "Windows")
|
||
|
include(cmake/open-cpp-coverage.cmake OPTIONAL)
|
||
|
endif()
|
||
|
|
||
|
include(cmake/lint-targets.cmake)
|
||
|
include(cmake/spell-targets.cmake)
|
||
|
|
||
|
add_folders(Project)
|