mirror of
https://github.com/tstack/lnav
synced 2024-11-17 15:29:40 +00:00
33 lines
656 B
CMake
33 lines
656 B
CMake
|
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)
|