From e24154cd915c9995da12e8d3ae6292ccead0138b Mon Sep 17 00:00:00 2001 From: nick black Date: Sat, 4 Dec 2021 12:10:21 -0500 Subject: [PATCH] don't build ncman on windows --- CMakeLists.txt | 4 ++++ README.md | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index b4d1f00eb..4926705da 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -626,6 +626,7 @@ endif() ############################################################################ # ncman +if(NOT WIN32) file(GLOB NCMANSRCS CONFIGURE_DEPENDS src/man/*.c) add_executable(ncman ${NCMANSRCS} ${COMPATSRC}) target_compile_definitions(ncman @@ -650,6 +651,7 @@ target_link_libraries(ncman notcurses-core "${libdeflate}" ) +endif() ############################################################################ # ncneofetch @@ -975,7 +977,9 @@ install(FILES ${MARKDOWN} DESTINATION ${CMAKE_INSTALL_DOCDIR}) install(TARGETS notcurses-demo DESTINATION bin) install(TARGETS notcurses-info DESTINATION bin) install(TARGETS ncneofetch DESTINATION bin) +if(NOT WIN32) install(TARGETS ncman DESTINATION bin) +endif() if(${USE_CPP}) install(TARGETS notcurses-input DESTINATION bin) install(TARGETS nctetris DESTINATION bin) diff --git a/README.md b/README.md index a36084119..68a4a6253 100644 --- a/README.md +++ b/README.md @@ -138,8 +138,9 @@ others are external. ## Included tools -Eight binaries are installed as part of Notcurses: +Nine binaries are installed as part of Notcurses: * `ncls`: an `ls` that displays multimedia in the terminal +* `ncman`: a fancy manual browser * `ncneofetch`: a [neofetch](https://github.com/dylanaraps/neofetch) ripoff * `ncplayer`: renders visual media (images/videos) * `nctetris`: a tetris clone