don't build ncman on windows

This commit is contained in:
nick black 2021-12-04 12:10:21 -05:00 committed by nick black
parent a2385047cc
commit e24154cd91
2 changed files with 6 additions and 1 deletions

View File

@ -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)

View File

@ -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