add target for building with homebrew

This commit is contained in:
Benjamin Sergeant 2019-02-21 22:05:30 -08:00
parent 2d696b6806
commit 6b8694bfbf
2 changed files with 4 additions and 0 deletions

View File

@ -3,6 +3,9 @@
# #
all: run all: run
brew:
mkdir -p ws/build && (cd ws/build ; cmake .. ; make)
.PHONY: docker .PHONY: docker
docker: docker:
docker build -t broadcast_server:latest . docker build -t broadcast_server:latest .

View File

@ -34,3 +34,4 @@ if (APPLE AND USE_TLS)
endif() endif()
target_link_libraries(ws ixwebsocket) target_link_libraries(ws ixwebsocket)
install(TARGETS ws RUNTIME DESTINATION bin)