CMake: add demo target

pull/1178/head
nick black 4 years ago
parent f6a5aebf71
commit f3688f44fb
No known key found for this signature in database
GPG Key ID: 5F43400C21CBFACC

@ -605,6 +605,11 @@ install(TARGETS notcurses-tester DESTINATION bin)
endif()
endif()
add_custom_target(demo
COMMAND ./notcurses-demo -p ${CMAKE_CURRENT_SOURCE_DIR}/data -c
DEPENDS notcurses-demo
)
# pkg-config support
configure_file(tools/notcurses.pc.in
${CMAKE_CURRENT_BINARY_DIR}/notcurses.pc

@ -145,7 +145,7 @@ test failures, *please* file a bug including the output of
(`make test` also runs `notcurses-tester`, but hides important output).
To watch the bitchin' demo, run `./notcurses-demo -p ../data`. More details can
To watch the bitchin' demo, run `make demo`. More details can
be found on the `notcurses-demo(1)` man page.
Install with `make install` following a successful build. This installs the C

Loading…
Cancel
Save